Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Model info file: alternative_ftr_set_subn values don't work properly if they contain whitespace #88

Open
nawrockie opened this issue Sep 24, 2024 · 0 comments

Comments

@nawrockie
Copy link
Member

If an alternative_ftr_set_subn value contains whitespace it won't work properly because the code that processes those values looks for this regular expression:

vadr.pm::vdr_FeatureInfoValidateAndConvertAlternativeFeatureSetSubstitution()

line 944:

if($subn_val =~ /^(\S+)\.(\d+)$/) { # e.g. "attachment(cds).2"

Fix could be to either validate that these values do not have whitespace and exit with informative error message if they do, or allow whitespace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant