是否可以使用Eclipse的正则表达式搜索和替换来转换为小写? [英] Is it possible to transform to lowercase using Eclipse's regex search and replace?

查看:229
本文介绍了是否可以使用Eclipse的正则表达式搜索和替换来转换为小写?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试过\L,但似乎并不是其语法的一部分,而且它的帮助没有提到任何可用的转换。

I've tried '\L' but it doesn't seem to be part of its grammar, and its help makes no mention of any available transforms.

我知道我可以并且知道如何从命令行这样做,但是...

I'm aware that I can and know how to do this from the command line but...

是否可以使用Eclipse的正则表达式搜索和替换来进行案例转换?

Is it possible to do case transforms using Eclipse's regex search and replace?

推荐答案

嗯,我不认为这是可能的。 \L甚至\似乎不按照我的预期工作(至少在靛蓝)。也许最好在eclipse之外做,然后刷新工作区。

Hmm, I don't think it is possible. \L and even \u seem not to work as I expected (at least in Indigo). Maybe it would be better to do that outside of eclipse and then refresh de workspace.

PS:如果你感到无聊,你可以搜索他们,用户CTRL + SHIFT + Y和CTRL + SHIFT + X来更改大小写:P

PS: If you feel bored you can search for them and user CTRL+SHIFT+Y and CTRL+SHIFT+X to change the case :P

这篇关于是否可以使用Eclipse的正则表达式搜索和替换来转换为小写?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆