Skip to content

Commit 9bd4003

Browse files
committed
Merge branch 'topic/fix_regexp_b' into 'master'
fix: correct the semantics of \b See merge request eng/ide/VSS!387
2 parents b3d75a1 + a259a70 commit 9bd4003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/regexp/implementation/vss-regular_expressions-pike_engines.adb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ package body VSS.Regular_Expressions.Pike_Engines is
188188
-- Check given assertion
189189

190190
function Is_Word_Char (Char : VSS.Characters.Virtual_Character)
191-
return Boolean is (Char in 'A' .. 'Z' | 'a' .. 'z' | '_');
191+
return Boolean is (Char in 'A' .. 'Z' | 'a' .. 'z' | '0' .. '9' | '_');
192192

193193
------------------------
194194
-- Is_Valid_Assertion --

0 commit comments

Comments
 (0)