24小时热门版块排行榜    

查看: 1358  |  回复: 6

readytoto

铜虫 (正式写手)

[交流] 正则表达式有什么作用? 已有3人参与

regular expression
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

更换头像后,同时按一下Ctrl键和F5键,强制刷新浏览器缓存就可以看到效果了
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

readytoto

铜虫 (正式写手)

想要替换掉所有的句子后面的"点号"成为"点号+换行+换行"
更换头像后,同时按一下Ctrl键和F5键,强制刷新浏览器缓存就可以看到效果了
2楼2014-09-18 20:16:51
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

cooooldog

铁杆木虫 (著名写手)

ส็็็


小木虫: 金币+0.5, 给个红包,谢谢回帖
这么简单的规则, 根本用不着正则表达式;

ส็็็็็็็็็็็็็็็็็็็็
3楼2014-09-18 20:37:01
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

readytoto

铜虫 (正式写手)

引用回帖:
3楼: Originally posted by cooooldog at 2014-09-18 20:37:01
这么简单的规则, 根本用不着正则表达式;


The Obama administration has a dilemma when it comes to the war in Iraq and Syria. On the one hand, the president desperately wants to persuade the public that the war will be limited, and that there will be no U.S. combat troops on the ground there. On the other hand, top administration officials have set the goal of "degrading and destroying" ISIS and have called it an "imminent threat to every interest we have." Yesterday's hearing of the Senate Armed Services Committee on U.S. policy in Iraq and Syria gave some insight into whether the administration will be able to wage a limited war against what it claims is a virtually unlimited threat.

The first and perhaps most important revelation was from Joint Chiefs of Staff Chairman Gen. Martin Dempsey, who indicated that he would not hesitate to recommend that the president send in ground troops should the situation warrant it. So, the pledge of "no ground troops" is now "no ground troops unless we decide to send in ground troops."

Dempsey was careful to suggest that if he were to recommend the use of ground forces -- or "close combat advisers," as he called them in one instance -- it would be on a "case-by-case basis." But the cases where he might seek approval for combat troops seemed like they could easily arise. One example was if ISIS recaptured the dam in Mosul and U.S. troops were needed to help get it back. Another was rescuing any U.S. pilot shot down in enemy territory.

Even as the risk of putting ground troops into the middle of a war zone grows, the air war is accelerating. Bloomberg News has reported on the first "offensive" U.S. air strikes of the war. And at yesterday's Senate hearing Sen. John McCain (R-AZ) raised another possibility -- air strikes against the Assad regime in Syria in retaliation for attacks they might make on U.S.-trained forces there. Gen. Dempsey tried to duck the question, but the Associated Press reported that the administration has already contemplated such a response.

And Sen. Lindsey Graham (R-SC) raised the prospect of needing to use U.S. ground troops to "dig" ISIS out of Syria, suggesting that no allied security force would be up to the task. Dempsey expressed confidence that U.S. forces would not be needed to defeat ISIS in Syria, but he offered no persuasive evidence as to why that would be the case.

The greatest threat of the war escalating to involve U.S. ground troops is the huge gap between U.S. goals and on-the-ground reality. Dempsey stressed that the U.S. strategy could not work without "effective partners" in both Iraq and Syria. But there are no "effective partners" as yet, and the U.S. involvement is expanding anyway. Shiite militias have used their political clout to block the appointment of a moderate, non-sectarian interior minister for the new Iraqi government. And members of the Asaib Ahl al-Haq militia who have been involved in the murders of innocent Sunni citizens in Baghdad have not been called to account by the new government. In fact, militia leaders have suggested that they could actually attack U.S. personnel if they end up in the same battle spaces.

As for Syria, current plans call for it to take a year to train 5,000 "moderate" fighters, and many analysts question whether these moderates can be found in the first place. So the creation of an "effective partner" in Syria remains more fantasy than reality.

Without viable allies on the ground in Syria or Iraq, military progress against ISIS will be hard to achieve. This in turn will encourage hawks in the U.S. Congress and among the political punditry to press for more aggressive U.S. action, including sending Special Forces or other U.S. military personnel into combat.

In short, whether or not President Obama intends to send ground troops into combat in Iraq, there is a real danger that the dynamics of the conflict will lead to that result.

The time to head off a wider war is now. Congress should vote today to deny authorization to arm Syrian forces; and there should be a debate and a Congressional vote before the administration is allowed to continue the war in Iraq.

William D. Hartung is the director of the Arms and Security Project at the Center for International Policy.
更换头像后,同时按一下Ctrl键和F5键,强制刷新浏览器缓存就可以看到效果了
4楼2014-09-18 21:06:59
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

readytoto

铜虫 (正式写手)

已解决;但是regex还是不会
更换头像后,同时按一下Ctrl键和F5键,强制刷新浏览器缓存就可以看到效果了
5楼2014-09-18 21:18:24
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

kying168

禁虫 (小有名气)


小木虫: 金币+0.5, 给个红包,谢谢回帖
本帖内容被屏蔽

6楼2014-09-20 10:17:53
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

ftai

金虫 (著名写手)


小木虫: 金币+0.5, 给个红包,谢谢回帖
是一种知识,可用于计算机语言处理,编译原理,信息安全,人工智能,XML……
7楼2014-09-23 08:58:23
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 readytoto 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 一志愿华东理工大学081700,初试分数271 +4 kotoko_ik 2026-03-23 5/250 2026-03-23 23:23 by 呆呆师姐
[考研] 材料专硕找调剂 +3 哈哈哈吼吼吼哈 2026-03-23 3/150 2026-03-23 23:13 by peike
[考研] 一志愿中南大学化学学硕0703总分337求调剂 +5 niko- 2026-03-22 5/250 2026-03-23 22:01 by fuyu_
[考研] 一志愿重庆大学085700资源与环境,总分308求调剂 +7 墨墨漠 2026-03-23 8/400 2026-03-23 20:36 by Creta
[考研] 化学308分求调剂 +3 你好明天你好 2026-03-23 3/150 2026-03-23 20:11 by macy2011
[考研] 招08考数学 +6 laoshidan 2026-03-20 14/700 2026-03-23 14:37 by 15614359529
[考研] 北科281学硕材料求调剂 +8 tcxiaoxx 2026-03-20 9/450 2026-03-23 12:16 by tcxiaoxx
[考研] 298求调剂 +8 上岸6666@ 2026-03-20 8/400 2026-03-23 11:02 by laoshidan
[考研] 一志愿华中农业071010,总分320求调剂 +5 困困困困坤坤 2026-03-20 6/300 2026-03-22 17:41 by hxsm
[考研] 306求调剂 +5 来好运来来来 2026-03-22 5/250 2026-03-22 16:17 by BruceLiu320
[考研] 一志愿中南化学(0703)总分337求调剂 +9 niko- 2026-03-19 10/500 2026-03-22 16:08 by ColorlessPI
[考研] 298求调剂一志愿211 +3 上岸6666@ 2026-03-20 3/150 2026-03-22 15:50 by ColorlessPI
[考研] 求调剂 +4 要好好无聊 2026-03-21 4/200 2026-03-21 18:57 by 学员8dgXkO
[考研] 0703化学297求调剂 +3 Daisy☆ 2026-03-20 3/150 2026-03-21 17:45 by ColorlessPI
[考研] 初始318分求调剂(有工作经验) +3 1911236844 2026-03-17 3/150 2026-03-21 02:33 by JourneyLucky
[考研] 求调剂 +3 Ma_xt 2026-03-17 3/150 2026-03-21 02:05 by JourneyLucky
[考研] 一志愿西南交大,求调剂 +5 材化逐梦人 2026-03-18 5/250 2026-03-21 00:26 by JourneyLucky
[考研] 南京大学化学376求调剂 +3 hisfailed 2026-03-19 6/300 2026-03-20 23:43 by hisfailed
[考研] 一志愿西安交通大学 学硕 354求调剂211或者双一流 +3 我想要读研究生 2026-03-20 3/150 2026-03-20 20:13 by JourneyLucky
[论文投稿] 申请回稿延期一个月,编辑同意了。但系统上的时间没变,给编辑又写邮件了,没回复 10+3 wangf9518 2026-03-17 4/200 2026-03-19 23:55 by babero
信息提示
请填处理意见