Brave New World
Aldous HuxleyBut liberty, as we all know, cannot flourish in a country that is permanently on a war footing, or even a near war footing. Permanent crisis justifies permanent control of everything and everybody by the agencies of the central government.
Found on the web
RegEx's
Why in god's name can I never remember even simple RegEx syntax. I use them every day, but I still have the following written down on a piece of paper by my side:
Character Classes
- \d - digit
- \D - non-digit
- \w - word [a-zA-Z0-9_]
- \W - non-word
- \s - whitespace [ \f\n\r\t\v]
- \S - non-whitespace
Quantifiers
- ? - 0 or 1
- * - 0 or more
- + - 1 or more
- {n} - exactly n
- {n,} - n or more
- {n,m} - atleast n, no more than m
I suppose this just goes to show that RegEx's were designed by a higher power, and were never designed for mortals.





