Skip to content

Commit 3306cb0

Browse files
committed
add demo of re-pattern usage
1 parent 0a4ae70 commit 3306cb0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ regex.core/re-pattern |\d+
3030
; "creates any-ref to hold a native regex pattern"
3131
```
3232

33+
```cirru
34+
let
35+
pattern $ regex.core/re-pattern "|\d+"
36+
regex.core/re-find |a4 |\d
37+
```
38+
3339
Install to `~/.config/calcit/modules/`, compile and provide `*.{dylib,so}` file with `./build.sh`.
3440

3541
### Workflow

0 commit comments

Comments
 (0)