Skip to content

Commit

Permalink
Fixes regex that was causing test failures.
Browse files Browse the repository at this point in the history
  • Loading branch information
amystamile-usgs committed Nov 30, 2022
1 parent 4f6c52b commit a15f1a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion isis/src/base/objs/PvlKeyword/PvlKeyword.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1586,7 +1586,7 @@ namespace Isis {
}

// check for extraneous data in the keyword ... ,2,3
QRegularExpression regex("(,*[0-9]?)?");
QRegularExpression regex("^,");
QRegularExpressionMatch match = regex.match(keyword);
if (!keyword.isEmpty() && match.hasMatch()) {
keywordValues.at(0).first += keyword;
Expand Down

0 comments on commit a15f1a9

Please sign in to comment.