[solved]QRegExp
-
Hellow, i have this code:
@if (rgb.contains(QRegExp("[0-9a-fA-F]{1,3},[0-9a-fA-F]{1,3},[0-9a-fA-F]{1,3}")))@
program should recognize the RGB arguments, but it does not work, whereas if you check here http://gskinner.com/RegExr/, then everything works fine, instead of trying to write \, - does not work -
You are doing something wrong. I tested and it matches:
!http://s1.picofile.com/file/6870501006/screenshot16.png(test)!
@[0-9a-fA-F]{1,2}@ also won't work for validating rgb hex values. Could you give your regexp declaration code?