Say you have a string, abcabcand you want to find out if the first part of the string matches the second part. You can do this with a single regular expression using capture groups and backlinks. Here is a regular expression that I would use:
(.+)\1
, .+ . , . \1 1 st, , . , , abc. \1 abc, . , , .
. , {...} [...], { } - . ,
{(\d+)}
[\1].
{123} abc {123} 456 123 . \1 123, {(\d+)} abc {123} 456 [\1] abc [123] 456.
, , , , . (xyz)+ , , xyz, , xyzxyzxyz. , xyz+ xy, z, .. xyzzzzz. , , . (?:xyz)+ , (xyz)+, , .
, !