Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Regular Expressions
Message
From
21/11/2002 11:24:23
 
 
To
19/11/2002 19:47:23
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Product Documentation
Miscellaneous
Thread ID:
00724590
Message ID:
00725277
Views:
10
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform