HOME


sh-3ll 1.0
DIR:/home/medisavehealth/public_html/bright.medisavehealthcarebd.com/node_modules/ret/lib/
Upload File :
Current File : /home/medisavehealth/public_html/bright.medisavehealthcarebd.com/node_modules/ret/lib/positions.js
var types = require('./types');

exports.wordBoundary = function() {
  return { type: types.POSITION, value: 'b' };
};

exports.nonWordBoundary = function() {
  return { type: types.POSITION, value: 'B' };
};

exports.begin = function() {
  return { type: types.POSITION, value: '^' };
};

exports.end = function() {
  return { type: types.POSITION, value: '$' };
};