Regex

A regular expression library for DM
This is a regular expression library for DM. Pretty much all of the standard Perl regex functionality is included, except some advanced features like look-ahead/behind assertions.

To work with this, just create the expression like so:

var/regex/R = new("/text/i")
if(R.Find(my_text))
usr << "Pattern match found: [copytext(R.match, R.index)]"

Full documentation is included.

Version 1.1

  • View documentation
  • Date Added: 04/09/05
  • Subscribe today!
    • Only $7.00 for one year
      ($5.00 for BYOND Members!)
    • Get your own personal copy
    • Stay up-to-date with free upgrades

Advertisement