This commit is contained in:
Kovid Goyal 2010-12-31 18:22:10 -07:00
parent 0276a30588
commit 31c45aaf4e

View File

@ -402,7 +402,7 @@ class FieldStrings:
Logic: Logic:
self.__link_switch = re.compile(r'\\l\s{1,}(.*?)\s') self.__link_switch = re.compile(r'\\l\s{1,}(.*?)\s')
""" """
self.__link_switch = re.compile(r'\\l\s{1,}(.*?)\s') self.__link_switch = re.compile(r'\\l\s{1,}"{0,1}(.*?)"{0,1}\s')
the_string = name the_string = name
match_group = re.search(self.__link_switch, line) match_group = re.search(self.__link_switch, line)
if match_group: if match_group: