Files
node/tools
Rich Trott 79117b98b9 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>
2016-12-28 22:34:42 -08:00
..
2016-12-28 22:34:42 -08:00
2013-06-06 15:35:59 -07: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-10-25 13:16:16 +02:00
2016-11-09 17:34:22 -05:00
2014-07-31 08:53:24 -07:00