ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1177. Like Comparisons

Should I care of incomplete square braces?
Posted by sanok 30 Nov 2016 02:06
Should I care of patterns with incomplete square braces? For example 'a[b' (and probably treat '[' as a regular character for matching. Or there is no such tests?
Re: Should I care of incomplete square braces?
Posted by Whyyes 4 Apr 2018 08:04
No such tests. (I like to put asserts in unclear cases like these and see if they fire)
No [] or [^] either