Skip to content
Snippets Groups Projects
Commit f71def3f authored by Jan Trávníček's avatar Jan Trávníček
Browse files

it should be begin to end

parent 1e694b08
No related branches found
No related tags found
No related merge requests found
Pipeline #28376 canceled
...@@ -38,7 +38,7 @@ ext::set < unsigned > BeginToEndIndex::transform ( const string::LinearString < ...@@ -38,7 +38,7 @@ ext::set < unsigned > BeginToEndIndex::transform ( const string::LinearString <
ext::set < unsigned > res; ext::set < unsigned > res;
   
for ( unsigned index : indexes ) for ( unsigned index : indexes )
res.insert ( index - pattern.getContent ( ).size ( ) ); res.insert ( index + pattern.getContent ( ).size ( ) );
   
return res; return res;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment