diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-07-19 19:40:43 -0700 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-07-19 19:40:43 -0700 |
| commit | 711fe47a7f651f38e090c9a20ecef11feba6f705 (patch) | |
| tree | 98a3283e7c630919a08f8bd95326ceeb1a93da9e /types.h | |
| parent | 62e7d654bd70db89cb38e5d9efeb9a9b0e9cf202 (diff) | |
Overhaul of word boundaries/edges. Now they use \b, which is implemented
in C, and the C code understands UTF8 id chars.
Diffstat (limited to 'types.h')
| -rw-r--r-- | types.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -14,6 +14,8 @@ // BP virtual machine pattern types enum pattype_e { BP_ANYCHAR = 1, + BP_ID_START, + BP_ID_CONTINUE, BP_STRING, BP_RANGE, BP_NOT, @@ -33,6 +35,7 @@ enum pattype_e { BP_START_OF_LINE, BP_END_OF_FILE, BP_END_OF_LINE, + BP_WORD_BOUNDARY, BP_LEFTRECURSION, BP_ERROR, }; |
