diff options
author | Dieter Verfaillie <dieterv@optionexplicit.be> | 2012-06-29 17:03:23 +0200 |
---|---|---|
committer | Dieter Verfaillie <dieterv@optionexplicit.be> | 2012-11-28 21:31:22 +0100 |
commit | c9516551d29432270f5f840ef315ce34f654a62f (patch) | |
tree | 1733354346706959f1d83957065f9726e3af8f26 /configure.ac | |
parent | 964d9229d188dc9661149bd153c7bf29e3669bb7 (diff) | |
download | gobject-introspection-c9516551d29432270f5f840ef315ce34f654a62f.tar.gz |
giscanner: use re.match() instead of re.search()
From Python's documentation:
Python offers two different primitive operations based on
regular expressions: match checks for a match only at the
beginning of the string, while search checks for a match
anywhere in the string (this is what Perl does by default).
The different behavior between match() and search() doesn't
matter in our case and conceptually we are checking if a
piece of text matches a certain pattern, so match() is a
better fit.
https://bugzilla.gnome.org/show_bug.cgi?id=688897
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions