From: Norbert B. <br...@ch...> - 2003-01-16 22:12:16
|
I am not sure if my regexp is wrong (I am not very familiar with it) or = is there an bug in regular expression implementation in the switch{} = command.=20 I have this command in my view definition (test whether the field is = empty or not): {switch({text...........8})[a-zA-Z0-9]:{text...........8}:none}=20 It work well until the text...........8 contains parenthesis "(" or ")". = The switch will display "none" even if the filed is not empty (e.g. it = contains string "Pastunovia (44 %), Tadzikovia (25 %), Hazarovia (10 %), = Uzbeci (8 %)". Norbert Brazda br...@ch... tel: 0905-729359 ChangeNet - informacny servis o obcianskej spolocnosti Mlynske nivy 41, 821 09 Bratislava, Slovakia tel/fax: 02-55560026, eMail: in...@ch... http://www.changenet.sk SPAJAME LUDI, KTORI MENIA SVET |