diff -r 904c71a0e37f -r e7764f992a01 src/eric7/Utilities/ModuleParser.py --- a/src/eric7/Utilities/ModuleParser.py Wed Oct 25 16:12:46 2023 +0200 +++ b/src/eric7/Utilities/ModuleParser.py Fri Oct 27 14:07:03 2023 +0200 @@ -102,6 +102,7 @@ | (?P<Docstring> (?<= :) \s* + (?: \# .*? $ \s* )? [ru]? \""" (?P<DocstringContents1> [^"\\]* (?: (?: \\. | "(?!"") ) @@ -111,6 +112,7 @@ \""" | (?<= :) \s* + (?: \# .*? $ \s* )? [ru]? ''' (?P<DocstringContents2> [^'\\]* (?: (?: \\. | '(?!'') ) @@ -120,6 +122,7 @@ ''' | (?<= :) \s* + (?: \# .*? $ \s* )? \#\#\# (?P<DocstringContents3> [^#\\]* (?: (?: \\. | \#(?!\#\#) ) @@ -221,7 +224,7 @@ (?: (?: if | elif ) [ \t]+ [^:]* | else [ \t]* ) : (?= \s* (?: async [ \t]+ )? def) )""", - re.VERBOSE | re.DOTALL | re.MULTILINE, + re.VERBOSE | re.MULTILINE, ).search _rb_getnext = re.compile( @@ -359,7 +362,7 @@ end \b [^_] ) )""", - re.VERBOSE | re.DOTALL | re.MULTILINE, + re.VERBOSE | re.MULTILINE, ).search _hashsub = re.compile(r"""^([ \t]*)#[ \t]?""", re.MULTILINE).sub