home *** CD-ROM | disk | FTP | other *** search
-
-
-
- TTTTccccllll____RRRReeeeggggEEEExxxxppppMMMMaaaattttcccchhhh((((3333)))) TTTTccccllll ((((7777....0000)))) TTTTccccllll____RRRReeeeggggEEEExxxxppppMMMMaaaattttcccchhhh((((3333))))
-
-
-
- _________________________________________________________________
-
- NNNNAAAAMMMMEEEE
- Tcl_RegExpMatch - Test whether a string matches a regular
- expression
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ttttccccllll....hhhh>>>>
-
- int
- TTTTccccllll____RRRReeeeggggEEEExxxxppppMMMMaaaattttcccchhhh(_i_n_t_e_r_p, _s_t_r_i_n_g, _r_e_g_e_x_p)
-
- AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
- Tcl_Interp *_i_n_t_e_r_p (in) Tcl interpreter to use for
- error reporting.
-
- char *_s_t_r_i_n_g (in) String to test.
-
- char *_r_e_g_e_x_p (in) Regular expression to match
- against _s_t_r_i_n_g.
- _________________________________________________________________
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- TTTTccccllll____RRRReeeeggggEEEExxxxppppMMMMaaaattttcccchhhh determines whether its _s_t_r_i_n_g argument
- matches _r_e_g_e_x_p, where _r_e_g_e_x_p is interpreted as a regular
- expression using the same rules as for the rrrreeeeggggeeeexxxxpppp Tcl
- command. If there is a match then TTTTccccllll____RRRReeeeggggEEEExxxxppppMMMMaaaattttcccchhhh returns
- 1. If there is no match then TTTTccccllll____RRRReeeeggggEEEExxxxppppMMMMaaaattttcccchhhh returns 0. If
- an error occurs in the matching process (e.g. _r_e_g_e_x_p is not
- a valid regular expression) then TTTTccccllll____RRRReeeeggggEEEExxxxppppMMMMaaaattttcccchhhh returns -1
- and leaves an error message in _i_n_t_e_r_p->_r_e_s_u_l_t.
-
-
- KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
- match, regular expression, string
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 1 (printed 7/10/95)
-
-
-
-