Thanks to visit codestin.com
Credit goes to github.com

Skip to content

wrong version selection in version list when icase is on and extdfl is off #411

@xdelaruelle

Description

@xdelaruelle

When the extended_default option is off and the icase option is on, selection of module versions after an advanced version specifier list is broken:

$ ml av
---------------- /path/to/modulefiles -----------------
foo/1.0  foo/1.2  foo/2.3  foo/3.5  
foo/1.1  foo/2.1  foo/3.4  foo/4.2  
$ ml av foo@:1.1,1.9:2.5,3.6:
---------------- /path/to/modulefiles -----------------
foo/1.0  foo/1.1  foo/2.1  foo/2.3  foo/4.2  
$ ml config extended_default 0
$ ml av -i foo@:1.1,1.9:2.5,3.6:
---------------- /path/to/modulefiles -----------------
foo/1.0  foo/1.1  foo/4.2  

In the above example we should obtain the same avail result whatever the extended_default and icase setup.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions