lex正則表達式練習

龍書上的表格: (^在中括號內表示取補,否則表示和行的開頭匹配,比如 ^ab匹配以ab開頭的字符串) Write regular definitions for the following languages: Comments, consisting of a string surrounded by /* and */, without an intervening */, unless it
相關文章
相關標籤/搜索