backreferences love

Definitions

from Wiktionary, Creative Commons Attribution/Share-Alike License.

  • noun Plural form of backreference.

Etymologies

Sorry, no etymologies found.

Support

Help support Wordnik (and make this page ad-free) by adopting the word backreferences.

Examples

  • If you have multiple subpatterns you would call backreferences in their matching order i.e. the first subpattern in your regex statement would be called by $1, the second by $2, etc.

    AutoHotkey Community 2009

  • The \ (and \) are backreferences, which can be used in the replace part (the \1 part).

    LinuxQuestions.org Guyverix 2010

  • * "," Cnf# backreferences like $1, which brings in the substring from Haystack that matched the first subpattern.

    AutoHotkey Community 2009

  • If this modifier is set, preg_replace () does normal substitution of backreferences in the replacement string, evaluates it as

    Muti 2009

  • * "," Cnf# backreferences like $1, which brings in the substring from Haystack that matched the first subpattern.

    AutoHotkey Community 2009

  • Additionally, as of Perl 5.10.0 you may use named capture buffers and named backreferences.

    Netvouz - new bookmarks 2008

  • Note that the counting for relative recursion differs from that of relative backreferences, in that with recursion unclosed buffers are included.

    Netvouz - new bookmarks 2008

  • But the RegexMatch with backreferences ist to complicated for me.

    AutoHotkey Community 2008

  • Yves Orton dropped by to say that he thought it was fundamentally impossible to reconcile octal escapes and backreferences within a regular expression, and that by perl 5.14, octal escapes in a regular expression should be illegal.

    Planet Perl 2008

  • Similar to numeric backreferences, except that the group is designated by name and not number.

    Netvouz - new bookmarks 2008

Comments

Log in or sign up to get involved in the conversation. It's quick and easy.