ActionsParser refactor

minor:  

```
if (RegexMatch(subject, ActionHeaderRegex) ||
   RegexMatch(subject, NamedActionHeaderRegex)) {
  return ActionSectionType;
}
```