Regular Expressions
1
Name:
Anonymous
2010-10-04 22:39
I feel like a nigger using vim and not knowing a shred of regular expressions.
What's a good book or online resource for me to master regexp?
2
Name:
Anonymous
2010-10-04 22:42
Google you fucktard.
3
Name:
Anonymous
2010-10-04 23:06
perl.org
4
Name:
Anonymous
2010-10-04 23:07
* African American
5
Name:
Anonymous
2010-10-04 23:12
>>4
That's racist! What if the African in question is not an American?
6
Name:
Anonymous
2010-10-04 23:13
:%s/./DICKS/g
7
Name:
Anonymous
2010-10-05 0:52
find ~ -type f -exec sed -i s/././g '{}'
(Tip: run this code in a subdirectory with junk files, not at the top of your home directory).
8
Name:
Anonymous
2010-10-05 2:32
:help re
9
Name:
Anonymous
2010-10-05 2:51
>>7
missing a
\; there bro
10
Name:
Anonymous
2010-10-05 2:52
I feel like a nigger using vim
You are. Get a real editor.
11
Name:
Anonymous
2010-10-05 3:27
>>10
Oh look. A hipster in my
/anus/
12
Name:
Anonymous
2010-10-05 3:54
http://oreilly.com/catalog/9780596528126
You can't learn this from online tutorials, because you won't be able to tell the very few decent ones from the ones that do more harm than good, and it's too important a skill to half-ass.
13
Name:
Anonymous
2010-10-05 7:28
Task: Write a regular expression to find SQL CREATE TABLE statements from larger SQL scripts.
Solution: It doesn't work.
14
Name:
Anonymous
2010-10-05 9:00
Use Textmate. There's a regex screencast.
15
Name:
Anonymous
2010-10-05 9:09
>>14
Screencast podcast webcast webinar folksonomy blogosphere cyberspace lifestyle
Macfags.
16
Name:
Anonymous
2010-10-05 13:08
17
Name:
Anonymous
2011-02-03 5:16