help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

please help!!!


From: Sathish Ramani
Subject: please help!!!
Date: Sat, 19 Feb 2005 22:40:14 -0800 (PST)

xmldecl "<?xml"{version}"?>"
version "version"{space}?={space}?"1.1"
space [ \t\n]

%%
{xmldecl} printf("%s",yytext);
{version} printf("%s",yytext);

Question:
If the following input is given:

<?xml version=1.1?>

The above input will match 'xmldecl', but will not
match again with 'version'. What should I do to match
the input to xmldecl and simultaneously get the value
for yytext?

Thanks,
Sathish Ramani.

=====
-----------------------------------------
Sathish Ramani
Graduate Student/Teaching Assistant
Web Developer (Scovell Hall)
Department of Computer Science
University of Kentucky, KY, U.S.A.
805 Press Ave
Apt # 1
Lexington, KY 40508, U.S.A.
Phone: 859-225-6377
------------------------------------------


                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250




reply via email to

[Prev in Thread] Current Thread [Next in Thread]