diff --git a/lib/rexml/entity.rb b/lib/rexml/entity.rb index 3d81fbc738..39f3900075 100644 --- a/lib/rexml/entity.rb +++ b/lib/rexml/entity.rb @@ -63,7 +63,7 @@ module REXML end end - # Evaluates whether the given string matchs an entity definition, + # Evaluates whether the given string matches an entity definition, # returning true if so, and false otherwise. def Entity::matches? string (ENTITYDECL =~ string) == 0