lib/rouge/lexers/ada.rb in rouge-4.2.0 vs lib/rouge/lexers/ada.rb in rouge-4.2.1
- old
+ new
@@ -153,10 +153,10 @@
push :decl_name
end
end
# Flag word-like things that don't match the ID pattern.
- rule %r{\b(\p{Pc}|[[alpha]])\p{Word}*}, Error
+ rule %r{\b(\p{Pc}|[[:alpha:]])\p{Word}*}, Error
end
end
end
end