Menu

#12 bigloo regular grammar: `submatch'es intersection

open
nobody
bigloo (13)
5
2000-07-27
2000-07-27
No

Regular grammar bug

((regular-grammar
()
((:(submatch (+ upper))(submatch (: upper lower)))
(print(the-submatch 1)"-"(the-submatch 2))
(ignore))
)
(open-input-string "ASd"))

prints "AS-Sd", indicating, that two 'submatch' regions intersect

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.