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

Last change on this file 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.