Re: Tough (for me) regex case
From: Rob Perkins (rob_perkins_at_hotmail.com)
Date: 04/13/04
- Next message: Matthew Braid: "import() override - comments?"
- Previous message: Robin: "download my bbs..."
- In reply to: Matt Garrish: "Re: Tough (for me) regex case"
- Next in thread: Matt Garrish: "Re: Tough (for me) regex case"
- Reply: Matt Garrish: "Re: Tough (for me) regex case"
- Reply: Tad McClellan: "Re: Tough (for me) regex case"
- Reply: Tad McClellan: "Re: Tough (for me) regex case"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 13 Apr 2004 06:43:56 GMT
"Matt Garrish" <matthew.garrish@sympatico.ca> wrote:
>If you're planning to us M$'s regexes, then next
>time say so from the outset so people don't have to waste time trying to
>figure out why you can't understand the obvious.
I had *no idea* that there were different implementations of "regular
expressions". The name belies the very idea of differing
implementations. I'm new at this. (Narrowly speaking, since I've been
programming since 1977 or so...)
Well, for what it's worth, I ran the code through ActivePerl, with the
results you predicted. It seems to me reading the regex that if Perl's
evaluator strips the surrounding quotes, it's *wrong*, since nothing
in that regex should consume the character, and ALL implementations
should give the same match, IMO.
It shouldn't consume those quotes as it is, and I don't know *why* it
does so. Heck, I don't know why the thing works in the first place;
noone has taken the time to help me read these things as well as I'd
like.
Who's wrong? You'll doubtless say Microsoft did it wrong, I'm sure,
since you seem to care about believing that they can't do it right.
But I simply don't care about that. I care about solving my problems
the best way possible, and I thank all those on this forum who stepped
forward to help me, entirely platform-agnostic and everything. I'm
happy to report to my MS-centric friends that the people on this
newsgroup are generally more interested in the computing problem than
in some kind of whizzing match between two competing ideologies.
Rob
- Next message: Matthew Braid: "import() override - comments?"
- Previous message: Robin: "download my bbs..."
- In reply to: Matt Garrish: "Re: Tough (for me) regex case"
- Next in thread: Matt Garrish: "Re: Tough (for me) regex case"
- Reply: Matt Garrish: "Re: Tough (for me) regex case"
- Reply: Tad McClellan: "Re: Tough (for me) regex case"
- Reply: Tad McClellan: "Re: Tough (for me) regex case"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|