Citat "Hollenbeck, Scott" <[EMAIL PROTECTED]>:

---8>< [CUT] 8><--- 
> <contact:fax>+1.7034444444</contact:fax> or <contact:fax/>
> 
> This pattern seems to work:
> <pattern value="(\+[0-9]{1,3}\.[0-9]{1,12})|.{0,0}"/>
> 
> This one (switching the order of the choices) doesn't:
> <pattern value=".{0,0}|(\+[0-9]{1,3}\.[0-9]{1,12})"/>
---8>< [CUT] 8><---
 
Well unfortunately I don't have the answer to your question,
but i have a solution, that I personally prefer.
I would have made the RegEx like this.

(\+[0-9]{1,3}\.[0-9]{1,12})?

substituting "|.{0,0}" with "?" 

       _\|/_
       (@ @)
---oOOo-(_)-oOOo---
    Ren� Jensen
 [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to