Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!zephyr.ens.tek.com!tektronix!nosun!qiclab!m2xenix!eduardo From: eduardo@m2xenix.psg.com (Eduardo Salom) Newsgroups: comp.sources.wanted Subject: Re: Regular expression procedure Message-ID: <1990Aug28.064531.11912@m2xenix.psg.com> Date: 28 Aug 90 06:45:31 GMT Organization: Pacific Systems Group, Portland Oregon US Lines: 24 >from: eduardo@m2xenix.psg.com (Eduardo Salom) References: <1990Aug24.223030.4853@m2xenix.psg.com><1990Aug25.214801.12226@uwasa.fi> In article <1990Aug24.223030.4853@m2xenix.psg.com> eduardo@m2xenix.psg.com (Eduardo Salom) writes: >I'm looking for a Pascal or C source to match strings against regular >expressions. In article <1990Aug25.214801.12226@uwasa.fi> ts@uwasa.fi (Timo Salmi LASK) replies: >Please, elaborate what you mean by matching strings against regular >expressions. It would make easier to consider whether one has anything of >use for you. I mean a routine like that used in the *nix system to select files: *[a-r]* will return TRUE for any file name with a letter 'a'..'r' in it. In some systems I have used more complex mask like {0dd|0ddd} meaning 'if there is something must be a zero followed by 2 or 3 digits' (our long distance phone codes have that format) etc. -- Eduardo J. Salom | eduardo@psg.com ..!uunet!m2xenix!eduardo SoftWare Plus SA | BIX: swp CIS: [73000,74] swp@dci2sp.das.net Larrea 1218 - 2.A | Delphi: swp VMS-Mail: PSI%07222211100717::SWP (1117) Buenos Aires, Argentina |