#!/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

随机推荐

  1. 网络性能优化GSO/GIO研究

    性能检测工具安装 # curl -O http://downloads.es.net/pub/iperf/iperf-3.0.6.tar.gz # tar axf iperf-3.0.6.tar.gz ...

  2. poj2528(线段树区间替换&离散化)

    题目链接: http://poj.org/problem?id=2528 题意: 第一行输入一个 t 表 t 组输入, 对于每组输入: 第一行  n 表接下来有 n 行形如 l, r 的输入, 表在区 ...

  3. Etherscan API 中文文档-交易以及检查交易收据状态

    本文原文链接 点击这里获取Etherscan API 中文文档(完整版) 完整内容排版更好,推荐读者前往阅读. 交易(Transaction) 交易相关的 API,接口的参数说明请参考Ethersca ...

  4. C# Obsolete(已弃用方法属性)

    class Realization : Interface { /// <summary> /// 已弃用的方法,Obsolete第二个参数设置为true,调用此方法会产生警告并引起编译器 ...

  5. Codeforces 1163D(kmp、dp)

    要点 \(dp[i][j][k]\)表示主串已经到第\(i\)位时,\(s\)匹配在\(j\)位.\(t\)匹配在\(k\)位的最大得分 本来就要试填一层循环,如果转移也写在循环里的化复杂度承受不了, ...

  6. PHP是.NET上的一门开发语言

    .NET Core 已经实现了PHP JIT,现在PHP是.NET上的一门开发语言   12月23日,由开源中国联合中国电子技术标准化研究院主办的2017源创会年终盛典在北京万豪酒店顺利举行.在本次大 ...

  7. Linux上使用VIM进行.Net Core

    如何在Linux上使用VIM进行.Net Core开发 对于在Linux上开发.Net Core的程序员来说, 似乎都缺少一个好的IDE.Windows上有Visual Studio, Mac上有Vi ...

  8. Ubuntu18.10设置静态IP、DNS、卸载无用软件

    设置静态IP root@xueji:~# vim /etc/network/interfaces # interfaces() ) and ifdown() auto lo iface lo inet ...

  9. 安卓H5软键盘遮挡输入框

    由于安卓app内嵌入H5页面,webview对于软键盘没有处理(如果不是产品强烈要求建议不要处理这种拆东墙补西墙的问题,因为其他的手机上可能会出现已经优化软键盘的情况) 1.input下方还有多余空位 ...

  10. Json 后台转对象的方式或者获取属性值方式。

    类似这类的 json字符串 后台转成 model 或者取其中一个属性值. 需要去掉前后引号 以及将转义字符去掉.空格代替 resoult = resoult.Substring(0, resoult. ...