4 ms·
Huh, I did't know there was lineage there. Coincidentally, I've actually used Beanshell; integrating it in to a project was a SUPER pleasant experience. It was
by jdc0589 9y ago
Huh, I did't know there was lineage there. Coincidentally, I've actually used Beanshell; integrating it in to a project was a SUPER pleasant experience.
It was some weird find/replace thing I contrived in college to let you do weird crap like define a bunch named regexes and use them to match and transform stuff. Contrived example that chops the "L" off long literals in files with the (optional) beanshell integration:
integer {
-?[0-9]+
}
really_bad_long_chopper {
<integer>L
} -> {
String original = match.group(0);
return original.substring(0, original.length() -1);
}