Skip to content

Commit

Permalink
Fixed #482 - DXC: Fixed ReqExp for WWFF
Browse files Browse the repository at this point in the history
  • Loading branch information
foldynl committed Jan 1, 2025
1 parent 593253a commit 0d9ad63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/DxWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1672,7 +1672,7 @@ void DxWidget::wwffRefFromComment(DxSpot &spot) const
{
FCT_IDENTIFICATION;

static QRegularExpression wwffRegEx(QStringLiteral("(?:^|\\s)([A-Za-z]{1,3}[Ff]{2})[- ]?(\\d{1,4})(?:\\s|$)"),
static QRegularExpression wwffRegEx(QStringLiteral("(?:^|\\s)([A-Za-z0-9]{1,3}[Ff]{2})[- ]?(\\d{1,4})(?:\\s|$)"),
QRegularExpression::CaseInsensitiveOption);

spot.containsWWFF = spot.comment.contains("WWFF", Qt::CaseInsensitive);
Expand Down

0 comments on commit 0d9ad63

Please sign in to comment.