Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Regular Expressions
Message
De
21/11/2002 11:24:23
 
 
À
19/11/2002 19:47:23
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Documentation de produit
Divers
Thread ID:
00724590
Message ID:
00725277
Vues:
15
read about the RegExp.Multiline property

>Ok, I have another little niggling one that tripped me up (thanks to Sergey for straightening me out). The help for regular expressions in VFP8 Beta, for 2 of the symbols ('^' and '$') says:
>
>
>^ Matches the beginning of the line.
>$ Matches the end of the line.
>
>
>Ok, then, how many lines are in the following marked area:
>
>
>Welcome
>To
>Regular
>Expressions.
>
>
>I say there are 4, and I think most normal humans would agree with me. For example, 'Regular' is at the beginning of a line.
>
>Not according to the Regular Expressions inner workings. There is only 1 line, and it begins with 'Welcome'.
>
>I suggest that MS change the above text to the following:
>
>
>^ Matches the beginning of the input string.
>$ Matches the end of the input string.
>
>
>Again, tiny change, but (I think), large effect.
>
>Alan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform