Projekt

Obecné

Profil

Stáhnout (367 Bajtů) Statistiky
| Větev: | Revize:
1
var types = require('./types');
2

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

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

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

    
15
exports.end = function() {
16
  return { type: types.POSITION, value: '$' };
17
};
(2-2/5)