mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-13 20:09:59 +00:00
8caa9701b9
Consistently use the re.match() or the match() method of a regexp object to find a match at the begin of a line. This is faster than re.find('^...'). Cf. https://stackoverflow.com/questions/180986/what-is-the-difference-between-re-search-and-re-match (The subtle difference for multi-line strings is irrelevant for configure.py, as we match line-wise.)