Skip to content
Python Lore
Python Lore

The ultimate Python guide

  • Home
  • Home
Home ยป Zero-Width Assertions
Zero-Width Assertions in Regular Expressions: Lookahead and Lookbehind
Posted inPython modules re

Zero-Width Assertions in Regular Expressions: Lookahead and Lookbehind

Posted inPython modules, reTags: Lookahead, Lookbehind, Zero-Width Assertions
Regex lookahead & lookbehind for string splitting. Use zero-width assertions with Python's re.split to split strings without consuming delimiters. Split camel case.
Read More
Copyright 2023-2025 by Python Lore. All rights reserved.
Scroll to Top
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.