Last active
December 15, 2015 21:19
-
-
Save tksmaru/5325012 to your computer and use it in GitHub Desktop.
StringUtilsにまんまと騙された件
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Grab(group='commons-lang', module='commons-lang', version='2.6') | |
import org.apache.commons.lang.StringUtils; | |
assert ! StringUtils.isAlpha("2"); // false | |
assert StringUtils.isAlpha("a"); // true | |
assert ! StringUtils.isAlpha("あ"); // true…だと…? |
Author
tksmaru
commented
Apr 17, 2013
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment