unicode-wb
v1.0.0
Published
Unicode Word Boundary
Downloads
67
Readme
unicode-wb
Unicode regexp string for detecting Word Boundary.
Usage
const { WORD_BOUNDARY } = require('unicode-wb');
const reg = new RegExp(WORD_BOUNDARY + 'България' + WORD_BOUNDARY, 'i');
reg.test('text България') // true