![]() PCRE library, Perl, PHP, and many others. Perl Compatible Regular Expressions (PCRE) Posix.2 "Extended Regular Expressions" (ERE) In its current state, it's not perfect but it has proved to be effective for my needs, converting between some of the more major regex flavours. ![]() regex-translator lays a simple, data-driven foundation which can be expanded upon to one day be able to perfectly interpolate between all regex flavours. For example: PCRE has the most features and is the flavour most commonly used in user-facing applications but I primarily program in Javascript nowadays which has its own standard for regex (ECMA) and I use Vim as my text editor which uses its own hyper-idiomatic version of regular expressions! Eventually, I got tired of the headaches from manually converting between regex flavours so I created this, a NodeJS package and CLI application for converting between regex flavours with relative ease. ![]() I love regex! It's extremely useful and I practice it nigh religiously but there's a catch: regular expressions have never had a singular, definitive standard that has really taken off and, as a result, each regex engine has its own slightly different variation on the core syntax. Convert a Regular Expression from one flavour to another. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |