serverless-to-cgi-bin icon indicating copy to clipboard operation
serverless-to-cgi-bin copied to clipboard

Reduce number of "replace" invocations

Open qubitrenegade opened this issue 5 years ago • 0 comments

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 in architecture so both architecture and architectures match.

qubitrenegade avatar Sep 05 '19 04:09 qubitrenegade