HappyDoc Generated Documentation Class: compile

HappyDoc3-r3_1 / happydoclib / docstring / StructuredText / ts_regex.py / compile 

Methods   
  search 
search (
        self,
        string,
        pos=0,
        )
  _init 
_init ( self,  r )
  search_group 
search_group (
        self,
        str,
        group,
        pos=0,
        )

Search a string for a pattern.

If the pattern was not found, then None is returned, otherwise, the location where the pattern was found, as well as any specified group are returned.

  match_group 
match_group (
        self,
        str,
        group,
        pos=0,
        )

Match a pattern against a string

If the string does not match the pattern, then None is returned, otherwise, the length of the match, as well as any specified group are returned.

  __init__ 
__init__ ( self,  *args )
  match_regs 
match_regs (
        self,
        str,
        pos=0,
        )

Match a pattern against a string

If the string does not match the pattern, then None is returned, otherwise, the regs attribute of the expression is returned.

  search_regs 
search_regs (
        self,
        str,
        pos=0,
        )

Search a string for a pattern.

If the pattern was not found, then None is returned, otherwise, the regs attribute of the expression is returned.

  match 
match (
        self,
        string,
        pos=0,
        )

This document was automatically generated Tue Dec 5 08:31:25 2006 by HappyDoc version 3.1