Originally Posted by
Salem
Your string component matches spaces, and now you're complaining that you don't want to match spaces.
You can't have it both ways.
Thank you for answering {apparently, few people have read the post...}
Yes you are rigth, it seems that i can't have it both ways... but from where i stand i want to use flex in order to do the following:::
Recognize some specif keywords {in the simplified example i provided the keyword was "daniweb"} and recognize everything else as a string...any ideas on how can i do that?
PS: maybe start conditions could help me solve the problem?{ i havven't understand them so well...}
PS2:in the beggining i thought it wouldn't be that difficult, but i was wrong...