ref: 769c1e76b0af199cf5a8d3336de9f3f642f1b688
dir: /test/unicode.myr/
use std
use regex
use "testmatch.use"
const main = {
testmatch(".*bæc", "Abæc")
testmatch("(\\p{L}*)bæc\\P{L}*", "Aabæc%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")
/* test various syntaxen */
testmatch("(\\pL*)bæc\\PL*", "Aabæc%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")
testmatch("(\\p{Letter}*)bæc\\P{Uppercase_Letter}*", "Aabæc%!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!")
testmatch(".", "æ")
}