UNPKG

589 BPlain TextView Raw
1I have {int} cuke(s)
2I have 22 cukes
3[22]
4---
5I have {int} cuke(s) and some \[]^$.|?*+
6I have 1 cuke and some \[]^$.|?*+
7[1]
8---
9/I have (\d+) cukes? in my (\w+) now/
10I have 22 cukes in my belly now
11[22,"belly"]
12---
13/I have (-?\d+) cukes? in my (.*) now/
14I have 1 cuke in my belly now
15[1,"belly"]
16---
17/^Something( with an optional argument)?$/
18Something
19[null]
20---
21Привет, {word}!
22Привет, Мир!
23["Мир"]
24---
25/I have (.*) cukes? in my (.*) now/
26I have 22 cukes in my belly now
27["22","belly"]
28---
29I have {} cuke(s) in my {} now
30I have 22 cukes in my belly now
31["22","belly"]