Hi, Please help me here. I have a WorkItem with a text field named "result". This "result" field says wheter to do x or y. The problem is that the value of the field could be case-insensitive, so I need to know if there's a way to do this, or if I can evaluate this value with regex somehow...
Thanks in advance
Alvaro
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
John,
Hi, Please help me here. I have a WorkItem with a text field named "result". This "result" field says wheter to do x or y. The problem is that the value of the field could be case-insensitive, so I need to know if there's a way to do this, or if I can evaluate this value with regex somehow...
Thanks in advance
Alvaro
Hi Alvaro,
I'm a bit surprised, I haven't yet written a function for that, that's something important missing.
http://sourceforge.net/tracker/index.php
If you have a bit of patience, there'll be an OpenWFE 1.7.0pre8 with those functions.
Where are you based ?
Best regards,
John
John,
That's not a very good news... :D No problem, I'll manage it somehow and wait for next version.
I live in Buenos Aires, Argentina. You?
Thanks and regards
Alvaro
Hi Alvaro,
I live near Lausanne, Switzerland.
If you wait for approximately one hour, you'll have a 1.7.0pre8 with the functions lowercase, uppercase, lc, uc and matches.
(see
http://svn.sourceforge.net/viewcvs.cgi/openwfe/trunk/openwfe-tests/etest_38_strings.py?view=markup&rev=2528
for tests / examples on how to use those functions).
Que le vaya bien,
John
Hi John, I'll download and test it then. Thanks a lot! It seems that you are 24-7 dedicated to OpenWFE... ;)
Gracias y saludos
Alvaro
Hi Alvaro,
it's uploaded :
http://prdownloads.sourceforge.net/openwfe/openwfe-1.7.0pre8.zip?download
<equals value="${c:lc('${f:your_field}')}" other-value="saludos" />...
as a small example.
Now, I'm going to bed, I can't do 24/7 :-(
I'm working a lot on this software, life is short, and quality is demanding...
Saludos,
John