Files
node/tools
Rich Trott 797d9a8e79 tools: refactor json.js
* Simplify regular expressions (see below)
* Remove unneeded `parseYAML()` wrapper
* Remove unused callback argument

Regular expression simplifications include:

* Changing trailing `*?$/` to `*$/` because non-greedy matching to the
  end of a line will not change behavior
* Change regexp beginnings like `/^(?:property:?\s*)?[^.\[]+` to the
  equivalent `/[^.\]]+`
* For regular expressions changed per the above, remove
  case-insensitivity if it no longer affects the regexp

PR-URL: https://github.com/nodejs/node/pull/10442
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Italo A. Casas <me@italoacasas.com>
2017-01-04 10:44:08 -06:00
..
2017-01-04 10:44:08 -06:00
…
2016-06-23 09:24:16 +02:00
2016-06-28 17:48:22 -04:00
2016-06-28 17:48:22 -04:00
2016-11-03 04:49:13 -05:00
2016-11-11 10:48:36 -05:00
…
…