Skip to content

Commit

Permalink
#22 Regex fix
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechRynczuk committed Jun 6, 2017
1 parent 1bbebfc commit efb58d0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sources/common/inc/EventSignalCreator.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ namespace PARSER

/// The event signal creator constructor.
EventSignalCreator() :
SignalCreator("^#([[:d:]]+) ([[:graph:]]+) e *.*")
SignalCreator("^#([[:d:]]+) ([[:graph:]]+) e[(?: .*)?[:space:]*]")
{
}

Expand Down
2 changes: 1 addition & 1 deletion sources/common/inc/FSignalCreator.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ namespace PARSER

/// The real signal creator constructor.
FSignalCreator() :
SignalCreator("^#([[:d:]]+) ([[:graph:]]+) ([[:d:][:punct:]]+) f *.*")
SignalCreator("^#([[:d:]]+) ([[:graph:]]+) ([[:d:][:punct:]]+) f[(?: .*)?[:space:]*]")
{
}

Expand Down
2 changes: 1 addition & 1 deletion sources/common/inc/ISignalCreator.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ namespace PARSER
public:
/// The integer signal creator constructor.
ISignalCreator() :
SignalCreator("^#([[:d:]]+) ([[:graph:]]+) ([[:d:]]+) ([[:d:]]+) *.*")
SignalCreator("^#([[:d:]]+) ([[:graph:]]+) ([[:d:]]+) ([[:d:]]+)[(?: .*)?[:space:]*]")
{
}

Expand Down

0 comments on commit efb58d0

Please sign in to comment.