Bug description:
re.search("lib*", "linux-generic") gets a match, running on Python 3.13.7
EDIT: re.search("linux*, ...) works as expected
from re import search
SEARCH = "lib*"
print(search(SEARCH, "liblcms2-utils")) # <re.Match object; span=(0, 3), match='lib'>
print(search(SEARCH, "linux-generic")) # <re.Match object; span=(0, 2), match='li'>
CPython versions tested on:
3.13
Operating systems tested on:
Linux
Bug description:
re.search("lib*", "linux-generic") gets a match, running on Python 3.13.7
EDIT: re.search("linux*, ...) works as expected
CPython versions tested on:
3.13
Operating systems tested on:
Linux