NetworkGhost
IS-IT--Management
Hi all. Got a problem with my regex Trying to match the beginning and end of a word so I dont break words such as breakfast if I was looking for just break.
Here is the line:
set newword [exec echo "$newword | sed "s/\b$redword\b//"]
using TCL. The error Im getting is:
extra characters after close-quote.
Is \b incorrect for matching in TCL?
Here is the line:
set newword [exec echo "$newword | sed "s/\b$redword\b//"]
using TCL. The error Im getting is:
extra characters after close-quote.
Is \b incorrect for matching in TCL?