Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi guys, can you help me with this

Status
Not open for further replies.

Nerses Nersesyan

Technical User
Apr 29, 2017
1
AM
Hi guys, can you help me with this ?

set my_str "asfdsrwerccbcgsf dfhacbrwet retwsg"

regexp -- {([abc])(?=[abc])(?!(\1))} $my_str match

couldn't compile regular expression pattern: invalid backreference number

is this still true ?

The lookahead constraints may not contain back references
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top