Enotsola: holy moly regex.. ugh..
Enotsola: ^(?:\+?1[-. ]?)?\(?([2-9][0-8][0-9])\)?[-. ]?([2-9][0-9]{2})[-. ]?([0-9]{4})(?:\s*((#|x\.?|ext\.?|extension)\s*(\d+)))?$
Enotsola: bleh
grim-visaged death-rainer: i think you have strayed from programming into eldritch incantations to summon the great old ones
Enotsola: ^(?:\+?1[-. ]?)?\(?([2-9][0-8][0-9])\)?[-. ]?([2-9][0-9]{2})[-. ]?([0-9]{4})(?:\s*((#|x\.?|ext\.?|extension)\s*(\d+)))?$
Enotsola: bleh
grim-visaged death-rainer: i think you have strayed from programming into eldritch incantations to summon the great old ones
no subject
Date: Dec. 12th, 2013 03:19 am (UTC)From:I've only had to wrestle with it once in my life so far, to try to locate "forward slash not immediately followed by $c" in big files of bibliographic data. According to my notes, I used =245 ..\$a.*/[^c] (=245 being a code that appeared at the start of every line where I wanted to search for this string) but I have little idea how I arrived there even though it was only a little over 3 months ago now.