Generalise pattern for matching IsValid signature

Previously the IsValid pattern matched only function signatures of
the form:
    def IsValid(*args): ...

However under SWIG 1.3.40 on Linux the signature reads:
    def IsValid(self): ...

The new pattern matches both signature types by matching only up to
the left paren.

git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@132968 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/scripts/Python/modify-python-lldb.py b/scripts/Python/modify-python-lldb.py
index efd4fb6..4d3b861 100644
--- a/scripts/Python/modify-python-lldb.py
+++ b/scripts/Python/modify-python-lldb.py
@@ -123,7 +123,7 @@
 init_pattern = re.compile("^    def __init__\(self, \*args\):")
 
 # The pattern for recognizing the beginning of the IsValid method definition.
-isvalid_pattern = re.compile("^    def IsValid\(\*args\):")
+isvalid_pattern = re.compile("^    def IsValid\(")
 
 # These define the states of our finite state machine.
 NORMAL = 0