LPS-42599 Jsqlparser + regex is too heavy, switch to maunal parsing.