Ben Doom wrote:
>>>>2) Have a good reference for the implementation you're using handy. If you
>>>>meet somebody that claims the ability to do complex RegEx with no reference
>>>>they're either lying or mutants (or Mike D). ;^)
>>
>>Ah, but a regex with references (in the search string) is not a regex
>>(that is, a type-3 language on Chomsky's hierarchy[1]), but what I like
>>to call an Irregular Expression (or irregex, for short), which is a
>>lower type language masquarading as a type-3 one.
>
> You may be making a joke I just didn't quite get, but on the off chance
> you're not, let me say this:
>
> By "reference" he pretty much meant "book".
I was making a ha-ha-only-serious joke. I was also playing off the
ambiguity of "reference". It could refer to reference material (making
me a mutant, seeing as I've been frobbing data with regexes for long
enough now ('twas 10 years ago I first encountered Perl and awk) in
different languages over the years to know all but the darker corners of
the various implementations I've used over the years by heart), or to
backreferences (though most refer to them as just "references") in the
pattern a-la Perl-inspired regex engines. Regexes that contain
backreferences aren't regexes at all because they can't be modelled as a
finite state automaton, ergo the "Irregular Expressions" quip.
By Dog, you've gone and made kill that joke with a dangerous exposition!
:-)
K.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking
application. Start tracking and documenting hours spent on a project or with a
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:199845
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54