Add support for DuckDB underscore numeric literals by hamilton · Pull Request #891 · sql-formatter-org/sql-formatter
- Add numberRegex option to TokenizerOptions to allow custom number patterns - Update Tokenizer to use custom number regex when provided - Configure DuckDB formatter to support underscore separators in numbers (1_000_000) - Add test for underscore numeric literals in DuckDB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters