The Plan 9 regular expression engine is a software tool used for searching text patterns. It works by using regular expressions to find strings of characters that match a certain pattern. With its simple yet powerful interface, it offers a reliable way to quickly search through large volumes of text.
re::engine::Plan9 is a Plan 9 regular expression engine that can be used as a replacement for perl's regex engine within a given lexical scope. It comes with libregexp9, libfmt, and libutf from Plan 9.
The engine offers some modifiers to the regular expression pattern. The /s modifier enables . to match a newline (regcompnl) and the /x modifier allegedly causes all characters to be treated literally (regcomplit), as documented in regexp9(3). If the engine is given any other modifier, it will croak.
One important feature of this engine is its error handling. If an invalid pattern is supplied, perl will die with an error from regerror(3). This is a great feature that allows the programmer to detect errors more easily.
Overall, re::engine::Plan9 is a powerful tool that can help you replace perl's regex engine in a given lexical scope. If you need to use Plan 9 regular expressions, this module is worth considering.
Version 0.15: N/A