Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Chatter box like parser

by rodry (Beadle)
on Nov 29, 2000 at 12:30 UTC ( #43867=perlquestion: print w/replies, xml ) Need Help??

rodry has asked for the wisdom of the Perl Monks concerning the following question:

Hello. I am trying to write a simple parser like the one used in the chatter box. You know, when you type in those special tags to reference a node or to reference a user.

I am having all kinds of trouble trying to write such an application. So, if the monks that run this site would be kind enough to post the regular expressions used to parse those custom chatterbox codes, I would appreciate it :) Thanks in advance.

Replies are listed 'Best First'.
Re: Chatter box like parser
by neophyte (Curate) on Nov 29, 2000 at 14:42 UTC
      The square-bracketish things used in the Everything code are not HTML-ish parsable though.

      It's probably best to go grab the Everything tarball and just steal the technology from there. Isn't that what open source is about? {grin}

      -- Randal L. Schwartz, Perl hacker

Re (tilly) 1: Chatter box like parser
by tilly (Archbishop) on Nov 29, 2000 at 17:10 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://43867]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2020-11-25 18:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?