diff --git a/twander.py b/twander.py index 8fb0f38..24d019f 100755 --- a/twander.py +++ b/twander.py @@ -6,7 +6,7 @@ # Program Information PROGNAME = "twander" -RCSID = "$Id: twander.py,v 2.93 2003/02/10 17:39:47 tundra Exp $" +RCSID = "$Id: twander.py,v 2.94 2003/02/10 23:02:51 tundra Exp $" VERSION = RCSID.split()[2] # Copyright Information @@ -475,9 +475,9 @@ # Variable Name Pattern Matching Stuff -DIRSC = "DIRSC" # Directory Shortcut naming -reDIRSC = r'^' + DIRSC + r'\d{1,2}$' # Regex describing Directory Shortcut names -reVAR = r"\[.+?\]" # Regex describing variable notation +DIRSC = "DIRSC" # Directory Shortcut naming +reDIRSC = r'^' + DIRSC + r'([1-9]|1[0-2])$' # Regex describing Directory Shortcut names +reVAR = r"\[.+?\]" # Regex describing variable notation # Create actual regex matching engines