Nmap Development mailing list archives

Re: Perl-style regular expression


From: David Warde-Farley <david.warde.farley () utoronto ca>
Date: Fri, 12 May 2006 21:27:24 -0400

You needn't worry about the "Perl-style" bit -- this is just a de- 
facto standard way of specifying regular expressions.

A regular expression is a string of characters that represents a  
group of strings that it "matches". Try these links:

http://www.regular-expressions.info/tutorial.html
http://rudd-o.com/projects/wp-search-replace/wp-search-replace- 
regexptut/
http://www.zytrax.com/tech/web/regex.htm
http://en.wikipedia.org/wiki/Regular_expression
http://www.greenend.org.uk/rjk/2002/06/regexp.html

- Dave

On 12-May-06, at 9:19 PM, zf81811 wrote:

hello,everyone
What is  Perl-style regular expression ?    Perl-style regular  
expression  is the  pattern  of the file nmap-service-probes ,used  
to determine whether the response received matches the service  
given in the previous parameter . for example,  m/^.\0\0\0\n(4\.[-. 
\w]+)\0...\0/.
but I don't understand?  i can not to parse it.
thanks,good luck!


_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev



_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev


Current thread: