Skip to content
Snippets Groups Projects
Commit fb8147fd authored by Adam Radziszewski's avatar Adam Radziszewski
Browse files

tests for regex

parent f5a608f0
Branches
No related merge requests found
......@@ -24,3 +24,19 @@ affix(["psi", "pies"], 0)
["pies", "psi"]
---
regex(["ökonomisch", "ökologisch", "oko", "okoń", "ok"], "\\p{Ll}+")
True
---
regex(["ökonomisch", "ökologisch", "okoŃ", "okoń", "ok"], "\\p{Ll}+")
False
---
regex(["SCHLÜSSEL.", "OKOŃ;", "ŹDŹBŁO:"], "\\p{Lu}+\\p{P}")
True
---
regex(["SCHLÜSSEL.", "OKOń;", "ŹDŹBŁO:"], "\\p{Lu}+\\p{P}")
False
---
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment