Commit 7cc7c3b
committed
Add delimiter parsing support to
Add a new overload of the compiler intrinsic initializer for Regex initialization that allows for a versioned argument, and use it to start parsing a string with delimiters, which allows the syntax options to be picked up at runtime.Regex(_regexString:version:) 1 parent ae12822 commit 7cc7c3b
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
50 | 59 | | |
51 | 60 | | |
52 | 61 | | |
| |||
0 commit comments