//RTS CONCEPT: C vs Java vs LISP vs Scheme vs Python
What units should each army have? What should their building structures be? If enough good ideas are posted, my game development club might take on this endeavor.
[dck]>: echo "I find the lack of Perl regex wizardry disturbing." | sed -e 's/ t.*?y /your mum/'
I find the lack of Perl regex wizardry disturbing.
wat
>>132
That's why I said you should trim the whitespace from the pattern, man.
Name:
Anonymous2009-06-29 10:46
>>133
``Ifindyourmumdisturbing.''?
Also, -r is not portable.
Name:
Anonymous2009-06-29 10:52
>>134
The regex pattern. 's/t.*?y/your mum/'
And if you're worried about portability use -e and remove ? from the regex pattern. echo "I find the lack of Perl regex wizardry disturbing." | sed -e 's/t.*y/your mum/'
I only used -r to point out that it does work with proper regex. IHBT