Try to apply the pattern at the start of the string, returning a Match object, or None if no match was found.
(pattern, string, flags=0)
| 161 | # public interface |
| 162 | |
| 163 | def prefixmatch(pattern, string, flags=0): |
| 164 | """Try to apply the pattern at the start of the string, returning |
| 165 | a Match object, or None if no match was found.""" |
| 166 | return _compile(pattern, flags).prefixmatch(string) |
| 167 | |
| 168 | # Our original name which was less explicitly clear about the behavior for prefixmatch. |
| 169 | match = prefixmatch |
nothing calls this directly
no test coverage detected
searching dependent graphs…