Title |
Test
Find
Pattern Title
|
Expression |
^([Vv]+(erdade(iro)?)?|[Ff]+(als[eo])?|[Tt]+(rue)?|0|[\+\-]?1)$ |
Description |
This RegEx will match boolean values, either numeric or literal. It will accept MS Access "-1" values for "true",
and recognizes English and Brazilian Portuguese. |
Matches |
False | verdadeiro | 0 |
Non-Matches |
+0 | 1-1 |
Author |
Rating:
Rudá Almeida
|
Source |
|
Your Rating |
|
Title: question
Name: Jan
Date: 11/10/2004 5:34:50 PM
Comment:
Are the + signs necessary? I think the "^([Vv](erdade(iro)?)?|[Ff](als[eo])?|[Tt](rue)?|0|[\+\-]?
1)$" is a more punctual expression.