Skip to content

Fix wrapper regex for C++ raw string

David Gobbi requested to merge dgobbi/vtk:fix-17752 into master

The original vtkParse.l regex for raw strings marked the "R" prefix as optional. As a result, if a string literal was followed by "(", it was misinterpreted as the start of a raw string (unless there was whitespace somewhere between the leading quote and the "(", since the whitespace would keep the regex from matching).

The fix is to remove the "?" that made the "R" prefix optional.

Resolves #17752 (closed)

Edited by David Gobbi

Merge request reports