$|^|\z|\Z|/a|/l
#!/usr/bin/perl use strict;
use warnings; foreach(<>)
{
if (/(\w*)/a){print "$1\n";}else{print "no match\n";}
} #11111111111111111111111111111111111
#nciuwbufcbew
#
#x
#xw
#11111111111111111111111111111111111 foreach(<>)
{
if (/(\w*)/l){print "$1\n";}else{print "no match\n";}
} #11111111111111111111111111111111111
#nciuwbufcbew``````//.]];s[[..;
#
#x,dsncdk,;l,ex
#xw,eocxmcmck
#11111111111111111111111111111111111 foreach(<>)
{
if (/\Ax(.*)/){print "$1\n";}else{print "no match\n";}
} #no match
#no match
#no match
#,dsncdk,;l,ex
#w,eocxmcmck
#no match foreach(<>)
{
if (/(.*)\;\z/){print "$1\n";}else{print "no match\n";}
} #no match
#no match
#no match
#no match
#no match
#no match foreach(<>)
{
if (/(.*)\;\Z/){print "$1\n";}else{print "no match\n";}
} #no match
#nciuwbufcbew``````//.]];s[[..
#no match
#no match
#no match
#no match foreach(<>)
{
if (/\A(\s*)\Z/){print "$1\n";}else{print "no match\n";}
} #no match
#no match
#
#
#no match
#no match
#no match $_=' oinn
nin
nin
kkkk'; if (/(.*)k$/){print "$1\n";}else{print "no match\n";} # kkk if (/^n(.*)/m){print "$1\n";}else{print "no match\n";} #in
随机推荐
- element ui 修改默认样式
修改element ui默认的样式 如果要组件内全局修改 首先在浏览器里F12找到element默认的UI类名 找到要修改的默认类名以后 在文件中修改代码,重写属性 <style> .el ...
- HDU 3410【单调栈】
思路: 单调栈. 鄙人的记忆:按当前为最大值的两边延伸就是维护单调递减栈. //#include <bits/stdc++.h> #include <iostream> #in ...
- cogs 421. HH的项链
421. HH的项链 http://218.28.19.228/cogs/problem/problem.php?pid=421 ★★★ 输入文件:diff.in 输出文件:diff.out ...
- XXy
XXy codevs1003 帮我看看 #include<iostream> #include<cstdio> using namespace std; ],map[][],n ...
- 有关xerosploit运行报错问题的有效解决方案
[安装xerosploit]安装xerosploit的步骤如下,我是将xerosploit直接克隆到了根目录下(使用“cd /”到达根目录) git clone https://github.com/ ...
- SqlConnectionStringBuilder的用法
SqlConnectionStringBuilder提供了一个很好的构建SQL连接字串的方式.不多说,见代码: SqlConnectionStringBuilder builder = new Sql ...
- codevs1026-dp(记忆化搜索)
题目描述 Description 年轻的拉尔夫开玩笑地从一个小镇上偷走了一辆车,但他没想到的是那辆车属于警察局,并且车上装有用于发射车子移动路线的装置. 那个装置太旧了,以至于只能发射关于那辆车的移动 ...
- CDH5.7.2离线部署笔记
1.部署基本信息说明: 1.1.主机信息 操作系统:选择CentOS6.7 x86-64版本 MEM:64GB,CPU: E5-2630 v3 @ 2.40GHz, DISK:2TB*4(数据节点存储 ...
- tyvj P4879骰子游戏-美国70分
需要FFT优化... #include<iostream> #include<cstdio> #include<queue> #include<vector& ...
- js动态更换img的src问题
在本地开发测试过程中,通过js动态更换img的src没有问题,图片正常切换,但是放在服务器上后测试发现,图片不显示,解决方法为:在对应onclick事件执行切换图片的js函数后加上一个return f ...