Skip to content

Commit a259a70

Browse files
committed
fix: correct the semantics of \b
1 parent df10828 commit a259a70

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)