Add a new regex test
Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
parent
47769d2640
commit
5acdd45b77
|
@ -144,7 +144,9 @@ class CommentTest extends TestCase {
|
||||||
[
|
[
|
||||||
'@foobar and @barfoo you should know, @foo@bar.com is valid' .
|
'@foobar and @barfoo you should know, @foo@bar.com is valid' .
|
||||||
' and so is @bar@foo.org@foobar.io I hope that clarifies everything.' .
|
' and so is @bar@foo.org@foobar.io I hope that clarifies everything.' .
|
||||||
' cc @23452-4333-54353-2342 @yolo!',
|
' cc @23452-4333-54353-2342 @yolo!' .
|
||||||
|
' however the most important thing to know is that www.croissant.com/@oil is not valid' .
|
||||||
|
' and won\'t match anything at all',
|
||||||
['foobar', 'barfoo', 'foo@bar.com', 'bar@foo.org@foobar.io', '23452-4333-54353-2342', 'yolo']
|
['foobar', 'barfoo', 'foo@bar.com', 'bar@foo.org@foobar.io', '23452-4333-54353-2342', 'yolo']
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue