Backreferences vs Backreferenced - What's the difference?
backreferences | backreferenced |
(backreference)
(computing) An item in a regular expression equivalent to the text matched by an earlier pattern in the expression.
* 2003 , Rob Brooks-Bilson, Programming ColdFusion MX
* 2005 , Ivan Ristic, Apache security
(computing) To access (the text matched by an earlier pattern in a regular expression).
* 2009 , Larry Ullman, Ruby: Visual QuickStart Guide (page 237)
* 2012 , Tom Christiansen, brian d foy(SIC), Larry Wall, Programming Perl (page 46)
As a noun backreferences
is plural of backreference.As a verb backreferenced is
past tense of backreference.backreferenced
English
Verb
(head)backreference
English
Alternative forms
* back-referenceNoun
(en noun)- The third part of the regular expression, \1, is the backreference and tells ColdFusion to refer back to the first subexpression
- Path traversal occurs when directory backreferences are used in a path to gain access to the parent folder of a subfolder.
Verb
(backreferenc)- By wrapping it in parentheses, the attributes can be reused by backreferencing this part of the pattern
- It doesn't change what the part matches, so
/\d+/
and/(\d+)/
will still match as many digits as possible, but in the latter case they will be remembered in a special variable to be backreferenced later.