how would i match a condition (just once) where a string would contain a [ followed by no alpha/nums and then a closing ]
so, im trying to trap an error
where i might expect:
[ 'this is a string', 'this is another string' ]
if theres an error with that file, the string would look like:
[ '', '' ]
i cant guarantee that format, but i do know, if theres a problem there will be no textual data between those braces
i dont need to return any data, just check for the condition
thanks