Subj : PCRE in Synchronet? To : Angus Mcleod From : Digital Man Date : Fri Dec 17 2004 05:02 pm Re: PCRE in Synchronet? By: Angus Mcleod to Digital Man on Fri Dec 17 2004 07:22 pm > > > Quick question: Can SBBS do Perl-compatible Regular Expressions? > > > > Not currently. > > Pity. > > > I don't see a function in the SpiderMonkey API to handle regexp's nativel > > does contain private functions to handle regexp's (see include/mozilla/js > > jsregexp.h), but it's very JS-centric (deals with JS contexts and strings > > such). > > I thought that would probably be the case. :-/ > > > For full PCRE support, a 3rd party cross-platform RE library would need t > > utilized or figure out someway to use the spidermonkey RE code (assuming > > don't want to create one from scratch). > > No, I wouldn't fancy doing one from scratch! :-) > > There's always PCRE (http://sourceforge.net/projects/pcre/) for which > there is a windows port (http://gnuwin32.sourceforge.net/packages/pcre.htm) > but who knows how well it works? It probably "works" fine, but it's rather large. > I was hoping that a suitable library had already been included in the SBBS > code-base. I don't much fancy sticking an entire library in there to do a > silly proggy or two! What exactly did you want to do? digital man Snapple "Real Fact" #148: The tallest man was 8 ft. 11 in. .