serverless-to-cgi-bin
serverless-to-cgi-bin copied to clipboard
Reduce number of "replace" invocations
This PR makes the following changes to reduce the number of invocations of .replace()
and therefore the overall number of times we parse the document.
- Make regex match case insensitive. This has the added benefit of matching e.g.:
AwS lAmBdA
as well as the other iterations. - Make
s
optional inarchitecture
so botharchitecture
andarchitectures
match.