#The following regular expression programs are built to:
# - match (or substitute) a single comment block line at a time;
-# - support MULTILINE mode and should support (but remains untested)
-# LOCALE and UNICODE modes.
+# - support (but remains untested) LOCALE and UNICODE modes.
# Program matching the start of a comment block.
#
[^\S\n\r]* # 0 or more whitespace characters
$ # end
''',
- re.VERBOSE | re.MULTILINE)
+ re.VERBOSE)
# Program matching the end of a comment block.
#
/ # 1 forward slash character
$ # end
''',
- re.VERBOSE | re.MULTILINE)
+ re.VERBOSE)
# Program matching the ' * ' at the beginning of every
# line inside a comment block.
[^\S\n\r]* # 0 or more whitespace characters
$ # end
''',
- re.VERBOSE | re.MULTILINE)
+ re.VERBOSE)
# Program matching SECTION identifiers.
#
[^\S\n\r]* # 0 or more whitespace characters
$
''',
- re.VERBOSE | re.MULTILINE)
+ re.VERBOSE)
# Program matching symbol (function, constant, struct and enum) identifiers.
#
[^\S\n\r]* # 0 or more whitespace characters
$ # end
''',
- re.VERBOSE | re.MULTILINE)
+ re.VERBOSE)
# Program matching property identifiers.
#
[^\S\n\r]* # 0 or more whitespace characters
$ # end
''',
- re.VERBOSE | re.MULTILINE)
+ re.VERBOSE)
# Program matching signal identifiers.
#
[^\S\n\r]* # 0 or more whitespace characters
$ # end
''',
- re.VERBOSE | re.MULTILINE)
+ re.VERBOSE)
# Program matching parameters.
#
[^\S\n\r]* # 0 or more whitespace characters
$ # end
''',
- re.VERBOSE | re.MULTILINE)
+ re.VERBOSE)
# Program matching tags.
#
[^\S\n\r]* # 0 or more whitespace characters
$ # end
''',
- re.VERBOSE | re.MULTILINE | re.IGNORECASE)
+ re.VERBOSE | re.IGNORECASE)
# Program matching multiline annotation continuations.
# This is used on multiline parameters and tags (but not on the first line) to
[^\S\n\r]* # 0 or more whitespace characters
$ # end
''',
- re.VERBOSE | re.MULTILINE)
+ re.VERBOSE)
class DocBlock(object):