19 lines
248 B
Plaintext
19 lines
248 B
Plaintext
|
|
# Regexps
|
||
|
|
x = //
|
||
|
|
x = (//)
|
||
|
|
x = (/test/)
|
||
|
|
x = //mig
|
||
|
|
x = //gim
|
||
|
|
x = /something/gim
|
||
|
|
x = /\//
|
||
|
|
x = /\n/
|
||
|
|
x = /ab\/ ab/
|
||
|
|
x = f /6 * 2/ - 3
|
||
|
|
x = f /foo * 2/gm
|
||
|
|
x = if true then /\n/ else /[.,]+/
|
||
|
|
x = ///^key-#{key}-\d+///
|
||
|
|
|
||
|
|
# not a Regexp
|
||
|
|
x = //test
|
||
|
|
x = /boo/test
|