ref: 85e3adbca63041d3628e9f8d55d83aa34d084008
dir: /lib/regex/test/unicode.myr/
use std use regex use "testmatch" const main = { testmatch(".*bæc", "Abæc", `std.Some [][:]) testmatch("(\\p{L}*)bæc\\P{L}*", \ "Aabæc%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!", \ `std.Some ["Aa"][:]) /* test various syntaxen */ testmatch("(\\pL*)bæc\\PL*", \ "Aabæc%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!", \ `std.Some ["Aa"][:]) testmatch("(\\p{Letter}*)bæc\\P{Uppercase_Letter}*", \ "Aabæc%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!", \ `std.Some ["Aa"][:]) testmatch(".", "æ", `std.Some [][:]) }