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
// g100pon #59 正規表現(基本編) | |
def target = 'The rain in Spain stays mainly in the plain!' | |
def pattern = /\b\w*ain\b/ // '*ain'で終わる単語 | |
// ========== パターン検索 ========== | |
// String.eachMatch | |
def eachMatch = '' | |
target.eachMatch(pattern) {match -> | |
eachMatch += match + ' ' |
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
// ==UserScript== | |
// @name SBM Comments Viewer | |
// @namespace http://white.s151.xrea.com/wiki/index.php?script/SBMCommentsViewer | |
// @description Show social bookmark's comments at the bottom of your browser. | |
// @include * | |
// ==/UserScript== | |
/* | |
Last Modified: 2007.11.01 |
NewerOlder