Home > brede > brede_re_match.m

brede_re_match

PURPOSE ^

brede_re_match - Regular expresssion matching

SYNOPSIS ^

function b = brede_re_match(text, pattern, varargin)

DESCRIPTION ^

 brede_re_match       - Regular expresssion matching

       function brede_re_match(text, pattern, ...
                   'PropertyName', 'PropertyValue')

       Input:  text     String to be searched
               pattern  String pattern to match
               Property: 
                 Engine  [ {perl} | regexp ] Which regular expression
                         function library to use 

       Output: b        Binary indication for match

       This function will search a text for a regular expression
       pattern. It will return a binary value depending on if the
       pattern was found.

       Perl should be installed if 'Engine' is 'perl'. In this case
       will be call with a system call. When 'Engine' is 'regexp' the
       regular expression matching will take place in a mex file
       compile with the regexp library. 

       Example:
         brede_re_match('Marcus E. Raichle', 'M.* Raichle')

       See also BREDX_RE_MATCH.

 $Id: brede_re_match.m,v 1.2 2000/09/26 16:20:53 fnielsen Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 27-Nov-2009 18:11:22 by m2html © 2005