[deleted]
??? how is this programmer humor? this is linguistics, and not even humor, this is just IPA spelling of "double-U"
It looks similar to a regular expression that matches a capital letter "W" followed directly by any character in the set [d^blju:]
ohhh, goddamn regex. wait, ^ is interpreted literally when it's not directly after "["? huh, interesting.
That is correct for PCRE.
From the Characters and Metacharacters section of the PCRE spec:
^ negate the class, but only if the first character
^
??? how is this programmer humor? this is linguistics, and not even humor, this is just IPA spelling of "double-U"
It looks similar to a regular expression that matches a capital letter "W" followed directly by any character in the set [d^blju:]
ohhh, goddamn regex. wait, ^ is interpreted literally when it's not directly after "["? huh, interesting.
That is correct for PCRE.
From the Characters and Metacharacters section of the PCRE spec: