Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Regular Expression sugar for MacRabbit's Espresso text editor.
branch: master

README.markdown

Regex.sugar

A Sugar for the Espresso text editor to develop complicated Regular Expressions. It should support anything described in the reference provided by http://regular-expressions.info. In cases where a feature is only supported by a subset of the available regular expression engines, I attempt to support it as well as possible without conflicting with any alternatives provided by other engines.

Using

Clone this project somewhere, with the following:

git clone git://github.com/elliottcable/regex.sugar.git ./Regex.sugar

And then link it to your syntaxes directory:

mkdir -p "$HOME/Library/Application Support/Espresso/Sugars/"
ln -s "$(pwd)/Regex.sugar" "/Users/$(whoami)/Library/Application Support/Espresso/Sugars/"

TODO

  • Write a custom Itemizer class so that capture groups can show their capture number in the Navigator, just like how named capture groups will be capable of doing.
  • Conditionals

More information

You can reach me (elliottcable, the author of this project) in the Espresso IRC channel almost 24/7:

##Espresso on Freenode (open in browser)

Something went wrong with that request. Please try again.