source: trip-planner-front/node_modules/ret/lib/positions.js@ 571e0df

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 
1var types = require('./types');
2
3exports.wordBoundary = function() {
4 return { type: types.POSITION, value: 'b' };
5};
6
7exports.nonWordBoundary = function() {
8 return { type: types.POSITION, value: 'B' };
9};
10
11exports.begin = function() {
12 return { type: types.POSITION, value: '^' };
13};
14
15exports.end = function() {
16 return { type: types.POSITION, value: '$' };
17};
Note: See TracBrowser for help on using the repository browser.