#!/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. Noip2016day2 组合数问题problem

    题目描述 组合数表示的是从n个物品中选出m个物品的方案数.举个例子,从(1,2,3) 三个物品中选择两个物品可以有(1,2),(1,3),(2,3)这三种选择方法.根据组合数的定 义,我们可以给出计算 ...

  3. [NOIP2012] 摆花

    1270. [NOIP2012] 摆花 http://cogs.pro/cogs/problem/problem.php?pid=1270 ★   输入文件:flower.in   输出文件:flow ...

  4. MySQL 5.7 INFORMATION_SCHEMA 详解

    refman mysql 5.7 INFORMATION_SCHEMA提供了对数据库元数据的访问,MySQL服务器信息,如数据库或表的名称,列的数据类型,访问权限等. 有时也把这些信息叫做数据字典或系 ...

  5. Spring - SpringIOC容器详解

    一.什么是Spring IOC: Ioc—Inversion of Control,即“控制反转”,不是什么技术,而是一种设计思想. 在Java开发中,Ioc意味着将你设计好的对象交给容器控制,而不是 ...

  6. struts2.5+框架使用通配符与动态方法

    概述:struts2.5以后加强了安全性,下面就是安全配置引发的问题 通配符: 在学习struts框架时经常会使用到通配符调用方法,如下: <package name="usercru ...

  7. Vue --6 router进阶、单页面应用(SPA)带来的问题

    一.Vue-router进阶 回顾学过的vue-router,并参考官方文档学习嵌套路由等路由相关知识. 二.单页面应用(SPA)带来的问题 1.虽然单页面应用有优点,但是,如果后端不做服务器渲染(h ...

  8. 丝滑顺畅:使用CSS3获取60FPS动画

    原文链接: Smooth as Butter: Achieving 60 FPS Animations with CSS3 在移动端使用动画元素是很容易的. 如果你能遵循我们的这里的提示, 在移动端适 ...

  9. Windows10家庭版升级至专业版

    控制面板--系统里面修改产品密钥即可. 密钥:VK7JG-NPHTM-C97JM-9MPGT-3V66T.(先断网,不然会提示升级失败)

  10. NETCOREAPI 跨域处理

    ASPNETCOREAPI 跨域处理 AspNetCoreApi 跨域处理 如果咱们有处理过MV5 跨域问题这个问题也不大. (1)为什么会出现跨域问题: 浏览器安全限制了前端脚本跨站点的访问资源,所 ...