DM Reference

DM Ref

❯

regex datum

❯

regex vars

❯

text var (regex)

text var (regex)

Version 5101 min read

  • var

If this is a global pattern (using the “g” flag), then after a call to Find() this var contains the text that was searched. If that same text is searched again, the next var is the default starting position.

Replace() on a non-global pattern will store the text after replacement here.

See also

  • regex datum
  • Find proc (regex)
  • index var (regex)
  • match var (regex)
  • next var (regex)

Graph View

Discord Bot

Look up reference entries and run DreamMaker code directly in Discord.

Add to DiscordOpen Playground

Built for BYOND 516.1688

Created with Quartz v4.5.0 © 2026

  • GitHub