home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / gnu / utils / bug / 1999 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.3 KB  |  41 lines

  1. Newsgroups: gnu.utils.bug
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!bredex.DE!nico
  3. From: nico@bredex.DE
  4. Subject: REGEX: "re_might_match()" possible ? (NO BUG)
  5. Message-ID: <199211061348.AA27125@bredex.de>
  6. Sender: gnulists@ai.mit.edu
  7. Organization: GNUs Not Usenet
  8. Distribution: gnu
  9. Date: Fri, 6 Nov 1992 15:48:16 GMT
  10. Approved: bug-gnu-utils@prep.ai.mit.edu
  11. Lines: 28
  12.  
  13. Hi folks,
  14. I know, this is not the right place to ask, but may be
  15. one of you have a quick solution.
  16.  
  17. We need a function to see if input MIGHT match.
  18. Which means, we would like to check if a string matches
  19. NOT AFTER typing in the whole string, BUT MEANWHILE
  20. the user is typing.
  21.  
  22. For example if the pattern is "[0-9][0-9].*B", we
  23. would like to return YES if the user just typed in
  24. "34tf", but NO if he typed in "a34".
  25.  
  26. I know, this is not the right place to ask, but maybe
  27. one of you have a quick solution.
  28. Anyway where is the right place for such questions ?
  29.  
  30. aTdHvAaNnKcSe
  31.  
  32. --------
  33. Nico
  34.                                  address: BREDEX GmbH
  35. email:   nico@bredex.de                   Nicolai Josuttis
  36.                                           Kastanienallee 2a 
  37. phone:   +49 531 75480                    D-3300 Braunschweig
  38. fax:     +49 531 796358                   Germany
  39. --------
  40.  
  41.