On Tue, 01 Mar 2005 19:44:08 +0000, James Nickerson
<[EMAIL PROTECTED]> wrote:
> How do I get a regular expression to recognize either (' or );  ?
> It's trivial with single characters using []'s, but other regular
> expression syntax is not valid with the square brackets, so I can't
> figure out how to recognize one or another set of multiple characters.
>  There's gotta be some simple way I'm not seeing.

|

/foo|bar/ matches "foofighter" and "barbecue"

Jacob Fugal

--------------------
BYU Unix Users Group 
http://uug.byu.edu/ 

The opinions expressed in this message are the responsibility of their
author.  They are not endorsed by BYU, the BYU CS Department or BYU-UUG. 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to