Ticket #127 (new defect)
QLexer does not support embedded patterns
| Reported by: | alex94040 | Owned by: | somebody |
|---|---|---|---|
| Priority: | minor | Milestone: | Far Far Away |
| Component: | Other | Version: | |
| Keywords: | Cc: |
Description
The QLexer class does not support embedded patterns - most probably because QLexer requires specifying an entry state for each of the patterns - like this:
$objLexer->addEntryPattern("<code>","start_code",QLexer::DefaultMode,"code");
$objLexer->addExitPattern("</code>","end_code","code",QLexer::DefaultMode);
Note that the <code> tag would only be recognized in the QLexer:DefaultMode context, not when the <code> tag is inside the <i> tag, for example.
Mike Hostetler implemented the class, he'd be a good person to ask to look into this
Change History
Note: See
TracTickets for help on using
tickets.
