From WikiChip
Difference between revisions of "mirc/identifiers/$regbr"
Line 6: | Line 6: | ||
== Paramters == | == Paramters == | ||
* '''name''' - The optional name given to the regex match | * '''name''' - The optional name given to the regex match | ||
− | * '''N''' - The Nth | + | * '''N''' - The Nth backreference, if N is 0, returns the total number of backreference/capturing group |
== Properties == | == Properties == |
Latest revision as of 18:30, 24 February 2018
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
Note: This feature has essentially been replaced by $regml.$regbr used to return the Nth backreference from a regex match.
Synopsis[edit]
$regbr([name], N)
Paramters[edit]
- name - The optional name given to the regex match
- N - The Nth backreference, if N is 0, returns the total number of backreference/capturing group
Properties[edit]
- .pos - returns the starting position of the backrefence
Example[edit]
Compatibility[edit]
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.