Hello Richard,

> Despite that little problem I'm very impressed with your efforts as reg
> ex is way over my head and I can't understand why it's not been hard
> coded into The Bat! main exe file because it's been asked for enough by
> various users.

I've known about this txt2html.regexps since May 2005 or so, but I
thought it was just an experimental thing for perhaps future
functionality. The file I use is much simpler:

([\s"']*)\*([\w\s\+/\-\.\:\\_']*)\*(\s)=\1<b>\2</b>\3
([\s"']*)/([\w\s\+\-\.\:\\_']*)/(\s)=\1<i>\2</i>\3
([\s"']*)_([\w\s\+/\-\.\:\\']*)_(\s)=\1<u>\2</u>\3

and it works just the same for italics, bold and underline.

-- 
Best regards,

Miguel A. Urech (El Escorial - Spain)
Using The Bat! v3.85.03



________________________________________________
Current version is 3.85.03 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to