user-pic

E. Choroba

Subscribe to feed Recent Actions from E. Choroba

  • Buddy Burden commented on A Date with CPAN, Part 6: Time Won't Give Me Time
    That surprise is ignorance leaving your mind. :-)

    Hmmm ... I would say instead that it's the sound of my brain bouncing off a wall because the feature that sounded like it did exactly what I wanted did nothing of the sort. ;->

    You seem to have a mistaken mental model of how regexps work; that book will beat you into shape.

    Well, I certainly have a mistaken mental model of how look-ahead works. But of course that's only one small piece of regular expressions. One which just hasn't come up all that often in the course …

  • Aristotle commented on A Date with CPAN, Part 6: Time Won't Give Me Time
    Why, "AC" of course. If tell you to match "ABC" but leave the "B" out, what else could you possibly get?

    And what would @- and @+ contain?

  • Aristotle commented on A Date with CPAN, Part 6: Time Won't Give Me Time

    Another try:

    Then (?: and (?= would mean the exact same thing.
    Wait ... what? I don't follow that at all. A(?:B) means an "A" followed by a "B." A(?=B) means an "A" followed by a "B," except don't include the "B" in the match string. I'm not sure how the consecutive-ness of anything would impact that.

    What would be the difference between (?=A(?=B)) and (?=A(?:B))?

  • Aristotle commented on A Date with CPAN, Part 6: Time Won't Give Me Time
    Meanwhile the way I actually need it to work right now is not even an option. :-) […] I see how to work around it, thanks to your continued efforts to enlighten me.

    You’re aware that sentence 2 there directly contradicts sentence 1, yes? (Not that I agree with the characterisation as a “workaround”.)

    In fact, the situation is strictly opposite of what you claim: the way it does work allows you to achieve everything you need, and the way you think it ought to work would disallow many other things that are possible with the current model.

  • Sawyer X commented on Perl 5 Porters Mailing List Summary: February 2nd-7th

    Thank you for spotting my error! It was fixed and I added a note at the top. :)

Subscribe to feed Responses to Comments from E. Choroba

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is hosted by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.