Terminus-Project / Terminus-Bot

A scriptable IRC bot written in Ruby.
http://terminus-bot.net/
Other
38 stars 18 forks source link

Fixed escaped slashes in regex script #45

Closed ori-sky closed 11 years ago

ori-sky commented 11 years ago

Don't merge this yet, it's still broken.

ori-sky commented 11 years ago

Note:

In the regex below, the single forward slash in the replace portion gets treated as a forward slash in the substitution, but this shouldn't be a problem as it is self-contained and as single forward slashes are not used for anything else (as they cannot usually appear there).

s/.///g/