Vortex - Rex - books, learning resources

Post Reply
roboto
Posts: 14
Joined: Sat Jul 31, 2010 11:45 am

Vortex - Rex - books, learning resources

Post by roboto »

Is there any book or learning resources for Rex except manual? Some examples, theory behind it?
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Vortex - Rex - books, learning resources

Post by mark »

User avatar
John
Site Admin
Posts: 2622
Joined: Mon Apr 24, 2000 3:18 pm
Location: Cleveland, OH
Contact:

Vortex - Rex - books, learning resources

Post by John »

Url?
John Turnbull
Thunderstone Software
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Vortex - Rex - books, learning resources

Post by mark »

roboto
Posts: 14
Joined: Sat Jul 31, 2010 11:45 am

Vortex - Rex - books, learning resources

Post by roboto »

Thanks for answer mark. I am now more familiar with rex after searching through this message board(it is great!).
But topic about rex in manual is still not well covered.
roboto
Posts: 14
Joined: Sat Jul 31, 2010 11:45 am

Vortex - Rex - books, learning resources

Post by roboto »

User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Vortex - Rex - books, learning resources

Post by mark »

Yes, more examples are always good.

That expression is ok.

>>(= : look for an open paren then
!)+ : match anything but close paren then
) : match close paren

!)+ could also be coded as [^)]+
For single characters you can go either way. But for a string you need !, as in >><td>=!</td>+</td>
roboto
Posts: 14
Joined: Sat Jul 31, 2010 11:45 am

Vortex - Rex - books, learning resources

Post by roboto »

But that expression doesnt match text between parentheses.
It matches text with parentheses. Something like this would return text between parentheses '>>(\P=!)+'
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Vortex - Rex - books, learning resources

Post by mark »

Correct. Whether the parens are desired as part of the data varies.

To ensure that there is a matching paren but not include either paren in the data use

>>(\P=!)+\F)
Post Reply