irregex
irregex copied to clipboard
Portable Efficient IrRegular Expressions for Scheme
``` (import (chicken irregex)) (eq? (not (not (irregex-search '(: bol eol) ""))) (equal? "foo" (irregex-replace/all '(: bol eol) "" "foo"))) ``` This is #f on Chicken 5.3.0 but shouldn't it...
I generated the R6RS version with: make irregex-r6rs.scm The resulting file includes a call to an undefined function called unicode-range->utf8-pattern. The calling function seems to be unused and so I...
This does not seem to be correct: ``` 3> (sre->string '(* (/ "AZ09"))) "[]*" ``` I would have expected something like `"[A-Z0-9]*"`.
I have a growing base of 50 complex irregex strings. I precompile all of them, store them in a file, and use the result. This works very nicely, but 1...
Currently, `posix-string` sub-regexes are only handled in `sre->procedure`, which means they are only handled by the backtracking engine, even if the strings are strictly regular expressions. We could simply call...