Skip to content
This repository has been archived by the owner on Aug 21, 2018. It is now read-only.

Fix isNumberMatchingDesc method for Windows and other OS #21

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

behigh
Copy link

@behigh behigh commented Jun 1, 2013

Fix isNumberMatchingDesc method for Windows and other OS where PHP_EOL NOT "\n"

Used preg_replace instead of str_replace, search and replace any vertical whitespace character

…L != "\n"

Used preg_replace instead of str_replace, search and replace any vertical whitespace character
Stop removing first element from supportedRegions when array_search returns FALSE. Also `unset` replaced by `array_slice` to save a sequence of keys.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant