1. Re: pattern matching

Warren wrote:

> Here is an example of using the carrot to
> see if the comparison begins with a string:

Thanks, I finally figured that one out.

I've got some questions on the OR construct (|).

1. Is it always delimited with parens? For example:

   (foo|bar|grill)

2. Does it always contain string literals, or can it also contain patterns;
i.e.:

   (\d+|\w+)

Thanks!

-- David Cuny

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu