5 ms·
I haven't looked at everything, but the Perl variable identifier regexp is incorrect, as Unicode characters are allowed as of 5.12, which was released in 2010.
by CanSpice 14y ago
I haven't looked at everything, but the Perl variable identifier regexp is incorrect, as Unicode characters are allowed as of 5.12, which was released in 2010. For that matter, same goes for Java, except Unicode letters are allowed.
- rll 14y agoThey are allowed in PHP as well. The set of regexes looks odd for a number of the languages actually.
- hythloday 14y agoJava also allows currency symbols (e.g. £€$) as identifiers. I know this because I had a colleague who was quite proud of having switched to Dvorak, and another colleague who immediately wrote a code-generation tool that emitted € characters in variable names...which are untypeable on a Dvorak keyboard. :)
- emmelaich 14y agoJava allows a vast array of odd characters, including nulls. http://stackoverflow.com/questions/4838507/why-does-java-allow-control-characters-in-its-identifiers http://stackoverflow.com/questions/4838507/why-does-java-all...
- nn2 14y agoDvorak doesn't support the Alt-<type unicode number on number block> trick?