would love to use more roslyn less regex, but haven't figure out how.