Hello,
I would like to check the entry of a user with class TRegExpr.
He should only be able to capture a mixture of 2 constraints:
1: a list of numbers between 1 and 15. For example: 1,5,7,11
2: a range of numbers, for example [4-15], which means 4..15, ie 4,5,6,7,8,9,10,11,12,13,14,15.
And he could mix the two constraints together. For example: 1,[3-13],15. Of course, knowing how to do 1°) and 2°), it'll be a simple OR like this: ((1)*|(2)*)
Any leads?
Regards.