Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Regular Expressions

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?

Name: Anonymous 2010-10-04 22:42

Google you fucktard.

Name: Anonymous 2010-10-04 23:06

perl.org

Name: Anonymous 2010-10-04 23:07

* African American

Name: Anonymous 2010-10-04 23:12

>>4
That's racist!  What if the African in question is not an American?

Name: Anonymous 2010-10-04 23:13

:%s/./DICKS/g

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).

Name: Anonymous 2010-10-05 2:32

:help re

Name: Anonymous 2010-10-05 2:51

>>7
missing a \; there bro

Name: Anonymous 2010-10-05 2:52

I feel like a nigger using vim
You are. Get a real editor.

Name: Anonymous 2010-10-05 3:27

>>10
Oh look. A hipster in my /anus/

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.

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.

Name: Anonymous 2010-10-05 9:00

Use Textmate. There's a regex screencast.

Name: Anonymous 2010-10-05 9:09

>>14
Screencast podcast webcast webinar folksonomy blogosphere cyberspace lifestyle

Macfags.

Name: Anonymous 2010-10-05 13:08

>>7
Nice try.

Name: Anonymous 2011-02-03 5:16

Name: Anonymous 2011-02-04 15:23

Don't change these.
Name: Email:
Entire Thread Thread List