3 ms·
Congrats! The new regex features sound exciting ("Dramatically reforms and sets a new standard in regex syntax, which scales up to full grammars – powerful enou
by danso 11y ago
Congrats! The new regex features sound exciting ("Dramatically reforms and sets a new standard in regex syntax, which scales up to full grammars – powerful enough to parse Perl 6 itself")
I really liked the post that precedes the submitted one, in which Perl 6 is described as a teenager being adopted into a family, "An Unexpectedly Long-expected Party" https://perl6advent.wordpress.com/2015/12/24/an-unexpectedly-long-expected-party/ https://perl6advent.wordpress.com/2015/12/24/an-unexpectedly...
- Aardwolf 11y agoAnd also interesting unicode features in the regexes... \d matches anything that is a digit in unicode for example. What if you only want ascii though, like for computer languages and maybe security? EDIT: security as in, no similar-looking but different characters to confuse users etc...
- gkya 11y agoGuess one can always do [0-9]+. Though I can't see why, for example, an arabic numeral pose a security problem. ISIS?
- kjs3 11y agoThere are a number of security issues, mostly around using "look alike" Unicode characters in phishing/impersonation attacks. See, for example: http://unicode.org/reports/tr36/ http://unicode.org/reports/tr36/ http://unicode.org/faq/security.html http://unicode.org/faq/security.html https://www.blackhat.com/presentations/bh-usa-09/WEBER/BHUSA09-Weber-UnicodeSecurityPreview-PAPER.pdf https://www.blackhat.com/presentations/bh-usa-09/WEBER/BHUSA...