regexpu - A source code transpiler that enables the use of ES2015 Unicode regular expressions in ES5

  •        22

regexpu is a source code transpiler that enables the use of ES2015 Unicode regular expressions in JavaScript-of-today (ES5). It rewrites regular expressions that make use of the ES2015 u flag into equivalent ES5-compatible regular expressions.Here’s an online demo.

https://mths.be/regexpu
https://github.com/mathiasbynens/regexpu

Dependencies:

jsesc : ^2.5.1
recast : ^0.12.6
regexpu-core : ^4.1.3

Tags
Implementation
License
Platform

   




Related Projects

xregexp - Extended JavaScript regular expressions

  •    Javascript

XRegExp provides augmented (and extensible) JavaScript regular expressions. You get modern syntax and flags beyond what browsers support natively. XRegExp is also a regex utility belt with tools to make your grepping and parsing easier, while freeing you from regex cross-browser inconsistencies and other annoyances. XRegExp supports all native ES6 regular expression syntax. It supports ES5+ browsers, and you can use it with Node.js or as a RequireJS module.

emoji-regex - A regular expression to match all Emoji-only symbols as per the Unicode Standard.

  •    Javascript

emoji-regex offers a regular expression to match all emoji symbols (including textual representations of emoji) as per the Unicode Standard.This repository contains a script that generates this regular expression based on the data from Unicode Technical Report #51. Because of this, the regular expression can easily be updated whenever new emoji are added to the Unicode standard.

grunt-babel - Grunt plugin for Babel

  •    Javascript

Issues with the output should be reported on the Babel issue tracker.See the Babel options, except for filename which is handled for you.

gulp-babel - Gulp plugin for Babel

  •    Javascript

Issues with the output should be reported on the Babel issue tracker.See the Babel options, except for sourceMap and filename which is handled for you.


Regular Expression Editor (RegExpEditor)

  •    Java

Regular Expressions (aka regex, regexp) made easy. This simple tool manipulates text with regular expressions. Highlighting of regular expression results. See the real power of regex! Use Scala to do manipulate your search results even more.

Onigmo - Onigmo is a regular expressions library forked from Oniguruma.

  •    C

Onigmo is a regular expressions library forked from Oniguruma. It focuses to support new expressions like \K, \R, (?(cond)yes|no) and etc. which are supported in Perl 5.10+. Since Onigmo is used as the default regexp library of Ruby 2.0 or later, many patches are backported from Ruby 2.x.

hyperscan - High-performance regular expression matching library

  •    C++

Hyperscan is a high-performance multiple regex matching library. It follows the regular expression syntax of the commonly-used libpcre library, but is a standalone library with its own C API. Hyperscan uses hybrid automata techniques to allow simultaneous matching of large numbers (up to tens of thousands) of regular expressions and for the matching of regular expressions across streams of data.

regex - An implementation of regular expressions for Rust

  •    Rust

A Rust library for parsing, compiling, and executing regular expressions. Its syntax is similar to Perl-style regular expressions, but lacks a few features like look around and backreferences. In exchange, all searches execute in linear time with respect to the size of the regular expression and search text. Much of the syntax and implementation is inspired by RE2.Module documentation with examples. The module documentation also include a comprehensive description of the syntax supported.

regexp-examples - Generate strings that match a given regular expression

  •    Ruby

Regexp#examples generates a list of all* strings that will match the given regular expression. Regexp#random_example returns one, random string (from all possible strings!!) that matches the regex.

Inline Regular Expression (Regex) Builder

  •    DotNet

Allows users to create regular expressions using C# syntax, rather than the standard cryptic string.

learn-regex - Learn regex the easy way

  •    

Regular expression is a group of characters or symbols which is used to find a specific pattern from a text. A regular expression is a pattern that is matched against a subject string from left to right. The word "Regular expression" is a mouthful, you will usually find the term abbreviated as "regex" or "regexp". Regular expression is used for replacing a text within a string, validating form, extract a substring from a string based upon a pattern match, and so much more.

learn-regex - Learn regex the easy way

  •    

Regular expression is a group of characters or symbols which is used to find a specific pattern from a text. A regular expression is a pattern that is matched against a subject string from left to right. The word "Regular expression" is a mouthful, you will usually find the term abbreviated as "regex" or "regexp". Regular expression is used for replacing a text within a string, validating form, extract a substring from a string based upon a pattern match, and so much more.

Convert Regex to XML and back

  •    

This is a small library + demo that transforms a .NET regular expression into an XML string and back. It helps understanding a long regex that was written by someone else, and allows easy editing. It's is developed in .NET 3.5 C#, sources included.

commonregex - 🍫 A collection of common regular expressions for Go

  •    Go

This is a collection of often used regular expressions. It provides these as simple functions for getting the matched strings corresponding to specific patterns.

Silverlight Regex Tester

  •    CSharp

This Regular Expression tester allows .Net developers a very simple way to test regular expressions against a sample text. This regex checker validates the expression syntax and provides results by leveraging the .Net Framework's native System.Text.RegularExpressions.Regex cl...

randexp.js - Create random strings that match a given regular expression.

  •    Javascript

randexp will generate a random string that matches a given RegExp Javascript object. Thanks to String-Random for giving me the idea to make this in the first place and randexp for the sweet .gen() syntax.

deep-regex - Code for the paper Neural Generation of Regular Expressions from Natural Language with Minimal Domain Knowledge (EMNLP 2016)

  •    Python

Code for the paper Neural Generation of Regular Expressions from Natural Language with Minimal Domain Knowledge (EMNLP 2016). Our neural model translates natural language queries into regular expressions which embody their meaning. We model the problem as a sequence-to-sequence mapping task using attention-based LSTM's. Our model achieves a performance gain of 19.6% over previous state-of-the-art models.

RE: a regexp library for OCaml

  •    

RE is a fast regular expression library for OCaml. It accepts several syntax (and semantics) for regular expressions: Perl-style, Emacs-style and Posix extended regular expressions.

Regex Util

  •    Java

A eclipse plugin to test regular expressions (regex). Full highlighting of regexp syntax. Tooltip with detailed description of regex items, etc... Very usefull. Project page has java-applet to test regexp online. (Regex implementation: java.util.regex.*)






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.