fork download
  1. import re
  2. m = re.search(r"(?<!\s)/(?![^\s.])", "Foo /markup/ bar")
  3. if m:
  4. print(f'{m.group()} found at {m.start()}')
Success #stdin #stdout 0.03s 9512KB
stdin
Standard input is empty
stdout
/ found at 11