Looks like it should work, but why not use a RegEx like the validator to stay consistent?