Hacker News new | past | comments | ask | show | jobs | submit login

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...




And 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...


Guess one can always do [0-9]+. Though I can't see why, for example, an arabic numeral pose a security problem. ISIS?


There 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/faq/security.html https://www.blackhat.com/presentations/bh-usa-09/WEBER/BHUSA...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: