👍🏻PRegEx for regular expressions
Regular expressions for searching and replacing text in a row, one or more files are actively used by developers and testers. However, reading and writing them is quite difficult. To simplify working with regular expressions in Python, the open source PRegEx (Programmable Regular Expressions) package, which has a simple syntax reminiscent of the imperative way of programming, will help. With PRegEx, there is no need to group patterns or escape metacharacters, as they are perfectly handled within the package.
Due to the modular nature of pattern creation in regular expressions, PRegEx allows you to break a complex pattern into several simpler ones, which can then be combined. And a high-level API on top of the built-in Python re module, providing access to its main functions and more, eliminates the need to work with re.Match instances.
Usage examples: https://towardsdatascience.com/pregex-write-human-readable-regular-expressions-in-python-9c87d1b1335
Post #499
673