hadley/ggplot2 — pull request #935 by krlmlr (2014-03-23 23:15:50+00:00)
Title: fix detection if an aesthetic is calculated

- variables can also appear as part of an expression
- detection of identifier limits is performed using lookarounds and Perl
regular expressions
- fix glitch in character range
- remove unneeded local variable
- add test