source: node_modules/ret/lib/positions.js

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 297 bytes
Line 
1const types = require('./types');
2exports.wordBoundary = () => ({ type: types.POSITION, value: 'b' });
3exports.nonWordBoundary = () => ({ type: types.POSITION, value: 'B' });
4exports.begin = () => ({ type: types.POSITION, value: '^' });
5exports.end = () => ({ type: types.POSITION, value: '$' });
Note: See TracBrowser for help on using the repository browser.