From WikiChip
Difference between revisions of "mirc/identifiers/$regbr"
< mirc‎ | identifiers

(Created page with "{{mirc title|$regbr Identifier}}{{Deprecated feature|new={{mIRC|$regml}}}}'''$regbr''' used to return the Nth backreference from a regex match. == Synopsis == <pre>$regbr([na...")
 
Line 9: Line 9:
  
 
== Properties ==
 
== Properties ==
None
+
* '''.pos''' - returns the starting position of the backrefence
  
 
== Example ==
 
== Example ==
Line 18: Line 18:
 
== See Also ==
 
== See Also ==
 
* {{mIRC|$regml}}
 
* {{mIRC|$regml}}
{{mIRC|$regex}}
+
* {{mIRC|$regex}}
{{mIRC|$regsubex}}
+
* {{mIRC|$regsubex}}
{{mIRC|$regmlex}}
+
* {{mIRC|$regmlex}}
  
 
[[Category:mIRC identifiers|regbr]]
 
[[Category:mIRC identifiers|regbr]]

Revision as of 19:28, 24 February 2018

Note: This feature has essentially been replaced by $regml.$regbr used to return the Nth backreference from a regex match.

Synopsis

$regbr([name], N)

Paramters

  • name - The optional name given to the regex match
  • N - The Nth line queued, if N is 0, returns the total number of backreference/capturing group

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