hello..friends when there is a pattern with regular expression: [a-c]x it means "ax" or "bx" or "cx". this works But when i work with [c-a]x. i put the values "cx" or "ax" or "-x". it shows an ERROR. can anybody tell me what is the valid value for that [c-a]x expression please reply soon...
thanks in advance bye,kiran
posted 13 years ago
The [c-a]x is NOT a valid pattern. To use regular expression, you have to make sure the put the range in the right order. For example, in the [characterA-characterB], characterB must be greater or equal to characterA in order. Hope this helps.