#!/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. xrange与range之间的区别

    对于这两个好像功能都差不多,这两个经常会被搞混,所以今天一定要把这个完全弄清楚. 首先我们看看range: range([start,] stop[, step]),根据start与stop指定的范围 ...

  2. Nacos深入浅出(三)

    EventDispatcher.fireEvent(new ConfigDataChangeEvent(true, dataId, group, tenant, time.getTime())); 跟 ...

  3. JMeter(5) JMeter之BeanShell使用

    BeanShell介绍 BeanShell是用Java写成的,一个小型的.免费的.可以下载的.嵌入式的Java源代码解释器,具有对象脚本语言特性.本篇只记录一下基本的使用.有以下五个组件: Beans ...

  4. 2.排序检索数据 ---SQL

    order by 一.排序数据 SELECT prod_name FROM Products ORDER BY prod_name; ORDER BY子句的位置 在指定一条ORDER BY子句时,应该 ...

  5. 长春理工大学第十四届程序设计竞赛(重现赛)I.Fate Grand Order

    链接:https://ac.nowcoder.com/acm/contest/912/I 题意: Fate Grand Order是型月社发行的角色扮演类手机游戏,是著名的氪金抽卡"垃圾&q ...

  6. jQuery基础(2)

    jQuery的属性操作,使用jQuery操作input的value值,jQuery的文档操作 零.昨日内容回顾 jQuery 宗旨:write less do more 就是js的库,它是javasc ...

  7. spring tx:advice事务配置

    http://blog.csdn.net/bao19901210/article/details/17226439 http://blog.csdn.net/rong_wz/article/detai ...

  8. Netty(1-1)Discard

    一.DiscardServerHandler import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext ...

  9. Django 的一些错误以及处理

    django.template.exceptions.TemplateSyntaxError: Invalid block tag on line 589: 'static', expected 'e ...

  10. 【转】 Oracle 中的一些重要V$ 动态性能视图,系统视图和表

    v$database:数据库的信息,如数据库名,创建时间等. v$instance 实例信息,如实例名,启动时间. v$parameter 参数信息,select * from v$parameter ...