Ben Doom
Member since Dec 11, 2008
- Profile: /members/1512-ben-doom.htm
- Comments: 5
Recent Blog Comments By Ben Doom
-
June 1st 2008 - National Regular Expression Day! (Post A Comment, Win A Prize)
Posted on May 29, 2008 at 5:23 PM
@Steven You're right, it's s///. I *always* got that wrong, now that I think about it.... read more »
-
June 1st 2008 - National Regular Expression Day! (Post A Comment, Win A Prize)
Posted on May 29, 2008 at 5:04 PM
@steven I meant that you usually use =~ with the replacement operator, so that the result is bound back to the variable. IIRC (it's been a few years) me =~ r/(ben)?\s*doom/The RegEx Ninja/ig; Poof! The Ninja appears from nowhere!... read more »
-
June 1st 2008 - National Regular Expression Day! (Post A Comment, Win A Prize)
Posted on May 29, 2008 at 3:09 PM
i =~ m/(^)(?:.*)($)/; is a little nonsensical. In perlish, I think it roughly translates as "I match everything." To be honest, I'm not sure what you get when you combine the binding operator (=~) with the match operator (m//).... read more »
-
June 1st 2008 - National Regular Expression Day! (Post A Comment, Win A Prize)
Posted on May 29, 2008 at 2:23 PM
Oh, and to fulfill the requirements, I want to run Hamlet in a shell. Possibly Denmark, the nutshell.... read more »
-
June 1st 2008 - National Regular Expression Day! (Post A Comment, Win A Prize)
Posted on May 29, 2008 at 2:22 PM
^I am the RegEx Ninja! I love RegEx so much, I already own two of those. {2} of those? I'm not averse to owning {2,}. After all, regular expressions have [class].... read more »