I ran into an issue where I was uploading files via Postman (REST Client) that was working, but I couldn't upload the same file from my react-native iOS simulator. It took me a while, but I realized that Postman was sending proper-case properties and react-native was all lower case.
The library was outputting no errors, just a blank array since it none of the regex's were matching. This should solve that scenario and ignore case in a match.
I ran into an issue where I was uploading files via Postman (REST Client) that was working, but I couldn't upload the same file from my react-native iOS simulator. It took me a while, but I realized that Postman was sending proper-case properties and react-native was all lower case.
The library was outputting no errors, just a blank array since it none of the regex's were matching. This should solve that scenario and ignore case in a match.