|
|
back to boardHere's the test: 3 '-' like '[a-c]' 'b-b' like '[ba-cb]' 'bbb' like '[ba-cb]' Could you explain me why can there be more than one '-' in template - like in the last test in the example: 'U' like '[^a-zA-Z0-9]' The answer should be YES, I suppose, because template doesn't have a format '^c1-c2', so we should check wether there's a symbol 'U' among symbols of string 'a-zA-Z0-9'. Or did I misunderstand the problem? Here's my code. Could anybody give me a test where it fails? [deleted by moderator] Edited by moderator 11.04.2004 01:44 > > [deleted by moderator] Edited by moderator 11.04.2004 01:45 |
|
|