braces
braces copied to clipboard
Braces don't expand if they start with the range operator
Example:
braces.expand('{..a,b}/c')
Expected result:
[ '..ac', 'bc' ]
Actual result:
[ '{..a,b}c' ]
Note that the current behaviour is differing from the bash implementation:
tim@EK-22-LT-04:~/virtuoso-test-data$ echo {..a,b}c
..ac bc
Note that it does work if the .. comes anywhere except the first parameter to the brace, so
'{b,..a}c'
{b,z,..a}c
do each give
[ 'bc', '..ac' ]
[ 'bc', 'zc', '..ac' ]