On Thu, 05 Feb 2004 16:35:42 -0500, in cf-talk you wrote:

>No prob.  If I'm going to claim RegEx as one of my specialties, I might
>as well develop a good rep for it.  :-)

Okay, now you've asked for it ;-). Here's one I've wondered about for
a long time: Is there a good way to negate a _substring_ as opposed to
being specific about each individual character? Lemme think of a
(lame) example...

1. see jane
2. hear jane
3. watch jane

Is there a good way to match 1 and 2, besides doing something like
this... "[^h][^e][^a][^r] jane" or "(see|watch) jane" (say I don't
know about the words "see" or "watch" beforehand)

>Shorthand classes (as you've referred to them) have been supported since
>6.0 -- CF5 and earlier used POSIX style only.

Whew, I'm fairly new to MX, so it's not like I had been missing out
since 4.5.

>Since the Java engine is built to be very Perlish, look at the Perl
>regex stuff in the Mastering book for good help.

Great, will do.

>If you just want to ask a whole
>bunch of questions and learn about them that way, the CF-Regex list
>(also hosted by the fine people at House of Fusion) is a great resource.

Okay, that's news to me. I read this list via NNTP, and CF-Regex
doesn't show on my groups list, so I'll definitely look into that,
too.

It's been a fruitful day on CF-Talk! :D

Jamie
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to