Devious regexp trick I've not seen before: [^]
Negating the empty set matches any character, which lets you emulate DOTALL (i.e. a . matches newlines too) on older regexp implementations.
miniblog.
Related Posts
Results from The International Obfuscated C Code Contest are out, and the winner has a devious program using the Turing-completeness of printf! Yikes.
Tabnabbing: A New Type of Phishing Attack http://t.co/DG1nyiFZJT Extremely devious!