java的类和常用编程模式还是要多练习,多手写java代码
return new String(filecontent, encoding); 看懂这个意思了吗?第一次见这个构造函数吧,而String可以说是最常用的类了,但是这个构造方法却是第一次见。
The caret ("^") is used in two different ways, one to signal the start of the text, one to negate a character match inside square brackets.