quoted strings

Jens Kallup <[email protected]>
Newsgroups gmane.comp.parsers.spirit.general
Message-ID <[email protected]>
Hello,

how can i parse:

"   text   "
" ' text ' "
   ' text '
' " text " '
[   text   ]


who "text" is any character - in flex: .*
The " around the text is part of the text/string
that should be parsed.

Then, _val = _1  is the text in " "

TIA
Jens

------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.