For this input in a file: {right; left; straight} I have this parser:
def conf: Parser[Any] = "{" ~> feat <~ "}"
def feat: Parser[Any] = repsep(expr, ";")
def expr = """[a-zA-Z]([a-zA-Z0-9]|[a-zA-Z0-9])*""".r
which is giving to me this output: List(right, left, straight)
Now I need these elements, in this list, to iterate through them but I can't because when I am trying to use the for() loop it is saying that "value filter is not a member of com.xxx.ParseResult[Any]". How I can iterate and take the values from this parsed List??