質問

I need to make a rule in my lex file that will identify the start of a newline and a sequence of spaces I did this ^( )* but the compiler says it is wrong what is the right way to define it?

役に立ちましたか?

解決

Try something like this:

^[\n\t ]+
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top