diff options
author | hobbs <hobbs> | 2008-08-21 23:42:22 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2008-08-21 23:42:22 (GMT) |
commit | 6b9d9ed01ec1bd26181bacf43086670a6c545242 (patch) | |
tree | 6335082b878c14b1a71639837969408d8b9c7870 /tests/regexpComp.test | |
parent | d09db69303ac08c93a77ac8c78b40e96f7154422 (diff) | |
download | tcl-6b9d9ed01ec1bd26181bacf43086670a6c545242.zip tcl-6b9d9ed01ec1bd26181bacf43086670a6c545242.tar.gz tcl-6b9d9ed01ec1bd26181bacf43086670a6c545242.tar.bz2 |
really fix translation to escape glob-sensitive chars
Diffstat (limited to 'tests/regexpComp.test')
-rw-r--r-- | tests/regexpComp.test | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/regexpComp.test b/tests/regexpComp.test index f38062d..0fbed97 100644 --- a/tests/regexpComp.test +++ b/tests/regexpComp.test @@ -105,6 +105,27 @@ test regexp-1.13 {regexp ***= metasyntax} { regexp -- $re $string } } 0 +test regexp-1.14 {regexp ***= metasyntax} { + evalInProc { + set string "aeiou" + set re "***=e*o" + regexp -- $re $string + } +} 0 +test regexp-1.15 {regexp ***= metasyntax} { + evalInProc { + set string "ae*ou" + set re "***=e*o" + regexp -- $re $string + } +} 1 +test regexp-1.16 {regexp ***= metasyntax} { + evalInProc { + set string {ae*[o]?ua} + set re {***=e*[o]?u} + regexp -- $re $string + } +} 1 test regexpComp-2.1 {getting substrings back from regexp} { evalInProc { |