pike.c: handle 0 case in repetition

This commit is contained in:
Kyryl Melekhin
2025-11-01 20:44:03 +00:00
parent 36c27822f5
commit a43ab17911
3 changed files with 57 additions and 3 deletions

1
README
View File

@@ -32,7 +32,6 @@ so that the user does not need to waste time taking strlen()
* Support for quoted chars in regex. Escapes in brackets.
* Support for ^, $ assertions in regex.
* Support for repetition operator {n} and {n,m} and {n,}.
- Note: cases with 0 are not handled, avoid them, they can easily be replaced.
* Support for Unicode (UTF-8).
* Unlike other engines, the output is byte level offset. (Which is more useful)
* Support for non capture group ?: