Alfanous-team / alfanous

Alfanous is an Arabic search engine API provides the simple and advanced search in Quran , more features and many interfaces...
http://www.alfanous.org/
GNU Affero General Public License v3.0
256 stars 89 forks source link

More tests, fixes and optimizations #381

Closed ahimta closed 10 years ago

ahimta commented 10 years ago

fixed: isShadda now always returns a boolean and doesn't use regex fixed: arabicrange() now doesn't throw an error added: more tests enhanced: arabicrange() now memoized (caches the result instead of redundant recalculation) changed: most is* functions are now in a seperate file, however it is more of an implementation details and doesn't affect araby APIs

next: reducing the use of regex in araby and not using it at all if possible