From WikiChip
$regmlex Identifier - mIRC
< mirc‎ | identifiers
Revision as of 18:44, 24 February 2018 by Ouims (talk | contribs) (Created page with "{{mirc title|$regmlex Identifier}}'''$regmlex''' returns the Mth backreference of the Nth match from a regex match. == Synopsis == <pre>$regmlex([name], N, M)</pre> == Param...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

$regmlex returns the Mth backreference of the Nth match from a regex match.

Synopsis

$regmlex([name], N, M)

Parameters

  • name - The optional name given to the regex match
  • M - The Mth match, if M = 0, returns the total number of match
  • N - Optional, the Nth capturing group, default to 1

Properties

  • .pos - returns the starting position of the backrefence

Example

Compatibility

Added: mIRC v5.9
Added on: 26 Apr 2001
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also