diff options
Diffstat (limited to 'tests/onig.test')
-rw-r--r-- | tests/onig.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/onig.test b/tests/onig.test index 805efaba..d49391fc 100644 --- a/tests/onig.test +++ b/tests/onig.test @@ -126,6 +126,10 @@ gsub("^.*?a"; "b") ["a,b, c, d, e,f",", a,b, c, d, e,f, "] [[["a,b:c, d, e,f"],["a,b:c:d:e,f"],[", ",", ",", "]],[[":a,b, c, d, e,f, "],[":a,b:c:d:e,f:"],[", ",", ",", ",", ",", "]]] +[.[] | scan("b+"; "i")] +["","bBb","abcABBBCabbbc"] +["bBb","b","BBB","bbb"] + # reference to named captures gsub("(?<x>.)[^a]*"; "+\(.x)-") "Abcabc" |