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
Strig input = "_ab__f_"; | |
//Pattern p = Pattern.compile("_+(.)", Pattern.DOTALL); | |
// pattern with named backreference i.e. (?<firstElement>) | |
Pattern p = Pattern.compile("_+(?<firstElement>.)", Pattern.DOTALL); | |
Matcher m = p.matcher(input); | |
StringBuffer buff = new StringBuffer(); |
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
[ | |
{ | |
"key": "ctrl+left", | |
"command": "cursorWordPartLeft", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+right", | |
"command": "cursorWordPartRight", | |
"when": "textInputFocus" |
OlderNewer