Regular Expression Help

kentsin at poboxes.com kentsin at poboxes.com
Fri Oct 27 00:29:21 EDT 2000


Is it possible for regular expression to match optional parameters 
like :

    func(optional parameters)

in which the func name and some optional parameters be match for 
later retrieval. To match the func is easy, but if the optional 
parameters can be 

  ()
  (p)
  (p1, p2)
  ....

is it possible to match these?





More information about the Python-list mailing list