Sujet : BUG in tclsh "BRE" is not accepted De : aotto1968 (at) *nospam* t-online.de (aotto1968) Groupes :comp.lang.tcl Date : 08. May 2025, 08:07:44 Autres entêtes Organisation : A noiseless patient Spider Message-ID :<vvhl80$1k154$1@dont-email.me> User-Agent : Mozilla Thunderbird
docu An ARE may begin with embedded options: a sequence (?xyz) (where xyz is one or more alphabetic characters) specifies options affecting the rest of the RE. These supplement, and can override, any options specified by the application. The available option letters are: b rest of RE is a BRE > echo 'regexp {(?b\<otto\>)} "hallo otto home"' | tclsh couldn't compile regular expression pattern: invalid embedded option → don't know HOWTO activate a BRE (the reason for this question is that BRE is the default RE of the "grep" command and if TCL and GREP work together they COULD share the BRE)