Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
pcre module help
- X-seq: zsh-users 7566
 
- From: lists <lists@xxxxxxxxxxxxxxxx>
 
- To: zsh-users@xxxxxxxxxx
 
- Subject: pcre module help
 
- Date: Sun, 20 Jun 2004 06:49:01 -0500
 
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
 
- Reply-to: zsh-users@xxxxxxxxxx
 
Hi,
	Can anyone provide an example for using the pcre module?  I've looked 
at the documentation and am unclear on what exactly pcre_compile, 
pcre_study, and pcre_match do.  Is in necessary to "compile" a pcre 
before using it?  Basically, I had intended on using the pcre module 
like this:
if [[ $variable == pcre ]] ; then
blah
fi
Thanks,
Ryan
Messages sorted by:
Reverse Date,
Date,
Thread,
Author