Seems like this regex should be anchored (^ and $) just in case.  Or maybe the deeper question is about pointer card representation, though they look like link syntax, they really aren't, they are always cardnames (sometimes contextual).