1 var types = require('./types');
3 exports.wordBoundary = function() {
4 return { type: types.POSITION, value: 'b' };
7 exports.nonWordBoundary = function() {
8 return { type: types.POSITION, value: 'B' };
11 exports.begin = function() {
12 return { type: types.POSITION, value: '^' };
15 exports.end = function() {
16 return { type: types.POSITION, value: '$' };