tree-sitter-bash icon indicating copy to clipboard operation
tree-sitter-bash copied to clipboard

Unable to parse extglob syntax in any context

Open lkrms opened this issue 1 month ago • 0 comments

Real-world code assigns the expanded glob to an array variable, but the same parsing error prevails in both cases:

function check_pools() { (
    shopt -s nullglob extglob
    rm -fv /etc/php/*/fpm/pool.d/!(*.conf|*.orig|*.dpkg-dist)
); }

Enabling extglob in the global scope (as it is in production) makes no difference.

Thanks for your excellent work on Bash parsing!

lkrms avatar Dec 01 '25 23:12 lkrms