Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Regular expressions code generator

Regular expressions code generator

Scheduled Pinned Locked Moved C / C++ / MFC
c++regexquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alexander M
    wrote on last edited by
    #1

    Hello, I'm looking for a library, that is able convert a regular expression to a c/c++ source code, which will parse an input string. Anyone heard of such a library? Regards, Alex

    Don't try it, just do it! ;-)

    J 1 Reply Last reply
    0
    • A Alexander M

      Hello, I'm looking for a library, that is able convert a regular expression to a c/c++ source code, which will parse an input string. Anyone heard of such a library? Regards, Alex

      Don't try it, just do it! ;-)

      J Offline
      J Offline
      John R Shaw
      wrote on last edited by
      #2

      You might try investigating one of the parser generators out there to see if they can be configured to do the job. There is VisualParse (expensive commercial product) and some free ones at ‘sourceforge.net’. If it is an option, I would be tempted to use Regex++ to do the parsing, but I think you know about that already. Note: I have added this to my to-do list, as an expansion of my personal RE parser.

      INTP "Program testing can be used to show the presence of bugs, but never to show their absence."Edsger Dijkstra

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups