Last change
on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
367 bytes
|
Line | |
---|
1 | var types = require('./types');
|
---|
2 |
|
---|
3 | exports.wordBoundary = function() {
|
---|
4 | return { type: types.POSITION, value: 'b' };
|
---|
5 | };
|
---|
6 |
|
---|
7 | exports.nonWordBoundary = function() {
|
---|
8 | return { type: types.POSITION, value: 'B' };
|
---|
9 | };
|
---|
10 |
|
---|
11 | exports.begin = function() {
|
---|
12 | return { type: types.POSITION, value: '^' };
|
---|
13 | };
|
---|
14 |
|
---|
15 | exports.end = function() {
|
---|
16 | return { type: types.POSITION, value: '$' };
|
---|
17 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.