\cを検索の前に付けるそうです。
/\csomaword
と検索すればSomeWordやSomeword、SOMEWORD、somewordといった単語を見つけられます。
基本的には:set ignorecaseや:set smartcaseをうまく設定しておくのがスマートだと思いますが確実にignore caseしている確信を得たいときには使えそうです。
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
\cを検索の前に付けるそうです。
/\csomaword
と検索すればSomeWordやSomeword、SOMEWORD、somewordといった単語を見つけられます。
基本的には:set ignorecaseや:set smartcaseをうまく設定しておくのがスマートだと思いますが確実にignore caseしている確信を得たいときには使えそうです。
Register as a new user and use Qiita more conveniently
Go to list of users who liked