Closed lapp0 closed 10 months ago
import interegular, regex >>> pat0 '\\/(?!\\/)(\\\\\\/|\\\\\\\\|[^\\/])*?\\/[imslux]*' >>> regex.match(pat0, "/", partial=True) <regex.Match object; span=(0, 1), match='/', partial=True> >>> interegular.parse_pattern(pat0).to_fsm().accepts("/") False