🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.utils.bug
Article #1040

REGEX: "re_might_match()" possible ? (NO BUG)

#1040
From: nico
Date: Fri, 06 Nov 1992 15:48
27 lines
1347 bytes
Hi folks,
I know, this is not the right place to ask, but may be
one of you have a quick solution.

We need a function to see if input MIGHT match.
Which means, we would like to check if a string matches
NOT AFTER typing in the whole string, BUT MEANWHILE
the user is typing.

For example if the pattern is "[0-9][0-9].*B", we
would like to return YES if the user just typed in
"34tf", but NO if he typed in "a34".

I know, this is not the right place to ask, but maybe
one of you have a quick solution.
Anyway where is the right place for such questions ?

aTdHvAaNnKcSe

--------
Nico
                                 address: BREDEX GmbH
email:   nico@bredex.de                   Nicolai Josuttis
                                          Kastanienallee 2a 
phone:   +49 531 75480                    D-3300 Braunschweig
fax:     +49 531 796358                   Germany
--------
Technical Details
Message-ID: <199211061348.AA27125@bredex.de>
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!bredex.DE!nico

Show Full Headers
Complete Article Headers
Newsgroups: gnu.utils.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!bredex.DE!nico
From: nico@bredex.DE
Subject: REGEX: "re_might_match()" possible ? (NO BUG)
Message-ID: <199211061348.AA27125@bredex.de>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Fri, 6 Nov 1992 15:48:16 GMT
Approved: bug-gnu-utils@prep.ai.mit.edu
Lines: 28