🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #144879

Re: [Dialog] Regexp Help file

#144879
From: foxidrive
Date: Sat, 13 Mar 2004 14:35
43 lines
3017 bytes
On Sat, 13 Mar 2004 07:50:17 -0500, Peter Kerekes wrote:

> Is there somewhere a Help file or Reference file for the RegExp expressions
> applicable to Dialog, especially an introductory stage?
> 
> I was searching Dialog's help, the WEB site, also some links but was not
> able to find a short, simple summary and reference for it. 
> 
> I am thinking of: how to specify both capital and regular characters

Have a look at the regular expression help in Dialog.

>, what is the | (vertical bar)

A logical OR


> * (asterisk) ^(caret) meaning, what are the different brackets, etc 

> Hopefully someone can suggest a location. I think I am not the only one
> having problems to write short, simple expressions. Would be helpful to
> have a ling to this, if exist.

Perhaps someone has some useful links for you.  I just wanted to say that
regexp behavior can change from program to program and it can be difficult
to get a handle on - but keep at it.  That's coming from someone who only
knows the basics as well.


This list is pretty well uniform with any regexp implementation so it may
be a good place to start.

.       any single character
[abc]   any single character in the list
[^abc]  any single character not in the list
*       any number of the preceeding item (including zero)
^       start of line
$       end of line
\       escape any of the above metacharacters
\<      beginning of word
\>      end of word
\\      a literal \
Technical Details
Message-ID: <fk1nuy6w1gym$.zqq9qgs6aisn$.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!newsfeed3.easynews.com!easynews.com!easynews!border1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mail
References: <vb94laavl959$.3kbmqiqn0rpr.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <fk1nuy6w1gym$.zqq9qgs6aisn$.dlg@40tude.net>
Subject: Re: [Dialog] Regexp Help file
Date: Sat, 13 Mar 2004 14:35:55 GMT
From: foxidrive <foxidrive@Shotmail.com>
References: <vb94laavl959$.3kbmqiqn0rpr.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!crtntx1-snh1.gtei.net!news.gtei.net!newsfeed1.easynews.com!newsfeed3.easynews.com!easynews.com!easynews!border1.nntp.sjc.giganews.com!border2.nntp.sjc.giganews.com!nntp.giganews.com!news1.optus.net.au!optus!news.optus.net.au!53ab2750!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.10.1 (314ddafa.376.152)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Face: ,C9+5-,tl2P/lP`;cakJqFV\gH+G#W0'-Lv=V>t6AGNr]v#I0OP(s1vQKTHxfUbKjDTZ+ku x5\8h8)C{:;Vsp5C{C'k<v!~ox#IOg*%^+
X-Original-NNTP-Posting-Host: 220.240.67.116
X-Original-Trace: 14 Mar 2004 01:35:54 +1100, 220.240.67.116
Lines: 42
NNTP-Posting-Host: 203.194.27.1
X-Complaints-To: abuse@comindico.com.au
X-Trace: news.optus.net.au 1079188555 203.194.27.1 (Sun, 14 Mar 2004 01:35:55 EST)
NNTP-Posting-Date: Sun, 14 Mar 2004 01:35:55 EST
Organization: Comindico Australia - reports relating to abuse should be sent to abuse@comindico.com.au