diff options
| author | Drahflow <drahflow@gmx.de> | 2013-03-23 17:52:00 +0100 |
|---|---|---|
| committer | Drahflow <drahflow@gmx.de> | 2013-03-23 17:52:00 +0100 |
| commit | 8a848799e6db6c4a77ceaf256c29ac38a5b465e1 (patch) | |
| tree | 81da84fa3d698a5672c87b683e60f6b2e57430b1 /examples/working | |
| parent | 95f56bdc3eddb89cc821712e06b8a06f09e35f5a (diff) | |
Start/End-of-string support
Diffstat (limited to 'examples/working')
| -rw-r--r-- | examples/working/regex.ey | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/working/regex.ey b/examples/working/regex.ey index bbf557f..5d0992d 100644 --- a/examples/working/regex.ey +++ b/examples/working/regex.ey @@ -1,2 +1,8 @@ "the quick brown fox jumps over the lazy dog" { "(the)(.*)" regex } { dump } loop +"abcdefghijklmnopqrstuvwxyz" +{ "([d-h][d-h])(.*)" regex } { dump } loop +"abcdefghijklmnopqrstuvwxyz" +{ "^(...)(.*)" regex } { dump } loop +"abcdefghijklmnopqrstuvwxyz" +"(...)$" regex { dump } rep |
