大家论坛

 找回密码
 注册
查看: 14602|回复: 28

LinuxCBT RegEx Edition - RegEx正则表达式编程视频教程

[复制链接]
头像被屏蔽

222

主题

1175

帖子

7298

金币

大家网研究生二年级

Rank: 19Rank: 19Rank: 19

积分
5773

社区建设奖创作大师解答高手优秀斑竹

发表于 2008-6-19 07:51 | 显示全部楼层 |阅读模式

LinuxCBT Scripting Edition - LinuxCBT RegEx Edition

 

 

全面讲解与POSIX、Perl兼容的正则表达式的使用和应用!

 

LinuxCBT RegEx Edition focuses on the application of POSIX and Perl-compatible Regular Expressions.

 

Regular Expressions are critical to efficiently parsing textual data (log file content, data feeds, files & directories, etc.). RegEx support is included with Linux | Unix operating systems via ubiquitous tools such as: grep, awk, sed, Perl, PHP, etc., and provides systems administrator/engineers and developers alike, the ability search, time-effectively, considerable amounts of textual data, using literals, character classes, metacharacters, metasequences, etc.

 

下载时请使用下载工具(如迅雷等),不要直接点击下载!

LinuxCBT.RegEx.Edition

 



LinuxCBT Scripting Editon - RegEx - Module 5

  • Introduction - Features
    • Discuss course outline
    • Explore system configuration
    • Identify key systems to be used
    • Install the Bluefish graphical editor - Supports POSIX and PERL-compatible RegExes
    • List key Regular Expressions applications
    • Enumerate and discuss key Regular Expressions features
  • Metacharacters
    • Enumerate important metacharacters
    • Provide examples of asterisk '*' usage
    • Apply simple character classes to searches
    • Perform searches in the Bluefish editor using literals and metacharacters
    • Explain and apply anchors: '^', '$'
  • Character Classes
    • Discuss features and applications
    • Perform searches in the Bluefish editor using character classes
    • Search for case-insensitive characters
    • Negate character class values using the circumflex character: '^'
    • Specify ranges and inclusions
    • Search for string boundaries
    • Alternate between POSIX and Perl-compatible Regular Expressions in Bluefish Editor
  • RegExes with GREP & EGREP
    • Discuss features and applications
    • Perform simple GREP searches
    • Use EGREP to find strings based on RegExes
    • Parse installed applications using EGREP
    • Extract 'su' attempts from the system log file: /var/log/messages
    • Parse log file entries based on specific dates
  • Parenthetical Expressions
    • Discuss features and applications
    • Compare and contrast with character classes
    • Search for strings using the Bluefish Editor
    • Combine anchors with parenthesis and evaluate results
    • Search for multiple groups of strings using alternation
    • Use parenthetical expressions with EGREP
    • Nest expressions using parenthesis
  • Quantifiers
    • Discuss features and benefits
    • Define RegEx tokens
    • Enumerate and discuss RegEx quantifiers
    • Test '?' using the Bluefish Editor and EGREP
    • Test '*' using the Bluefish Editor and EGREP
    • Test '+' using the Bluefish Editor and EGREP
    • Test '*' using the Bluefish Editor and EGREP
    • Test '{ }' - arbitrary quantifiers with the Bluefish Editor and EGREP
    • Combine anchors, parenthesis and various quantifiers
  • Shortcut Sequences - POSIX & Perl
    • Discuss features and benefits
    • Enumerate and discuss key shortcut sequences
    • Test shortcut sequences using the Bluefish Editor
  • Awk - Field Parser
    • Discuss features and applications
    • Use awk to extract fields from the process listing
    • Apply RegEx literal strings to awk search and evaluate results
    • Apply RegEx character classes to awk search and evaluate results
    • Apply RegEx parenthetical expressions to awk search and evaluate results
    • Apply RegEx quantifiers to awk search and evaluate results
    • Incorporate conditional RegEx matching with awk search and evaluate results
    • Extract fields, based on RegExes, from system log file: /var/log/messages
  • SED - Stream Editor
    • Discuss features and applications
    • Perform text transformation of text file using string literals
    • Perform text transformation of text file using string literals and character classes
    • Perform text transformation of text file using string literals and anchors
    • Perform text transformation of text file using string literals and character classes
    • Evaluate results
  • GNU Utilities (GREP|Awk|SED) for Windows
    • Discuss features and benefits
    • Identify and connect to Windows Server target system
    • Download and install GNU utilities for Windows: GREP, Awk, SED
    • Perform EGREP searches and evaluate results
    • Perform gawk searches and evaluate results
    • Perform SED substitutions and evaluate results
  • Perl Regular Expressions
    • Discuss features and applications
    • Write simple Perl script to compare command line argument to RegEx and evaluate results
    • Alter Perl script to read text file and perform RegEx comparisons and evaluate results
    • Incorporate character classes, parenthetical expressions, case-insensitivity and quantifiers
    • Evaluate results
    • Substitute matched text using Perl RegExes
    • Substitute matched text using Perl RegExes from the command line
    • Update system log using text substitution from the command line
  • PHP Regular Expressions
    • Discuss features and applications
    • Perform POSIX and Perl-compatible RegExes from the command line
    • Substitute text using RegExes
    • Evaluate results
    • Design HTML form to collect fields via the browser
    • Design back-end, action script to process the POST fields using RegExes
    • Halt processing if POST fields do NOT meed criteria based on RegExes
    • Evaluate results
  • Apache Regular Expressions
    • Discuss features and benefits
    • Identify key configuration files
    • Explore key RegEx-supporting Apache directives
    • Match a range of directories using RegExes with <DirectoryMatch> directive
    • Restrict access to files using RegExes with <FilesMatch> directive
    • Match URL directory values using RegExes with <AliasMatch> directive
    • Redirect users to alternate content using RegExes with <RedirectMatch> directive

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x

本帖被以下淘专辑推荐:

签名被屏蔽
回复

使用道具 举报

0

主题

1

帖子

21

金币

大家网幼儿园

Rank: 1

积分
1
发表于 2008-6-19 09:27 | 显示全部楼层
Thanks, I want to see.
回复

使用道具 举报

0

主题

7

帖子

27

金币

大家网幼儿园

Rank: 1

积分
7
发表于 2008-6-19 09:56 | 显示全部楼层
看看&nbsp;&nbsp; 谢谢
回复

使用道具 举报

0

主题

30

帖子

504

金币

大家网初中三年级

Rank: 10Rank: 10

积分
414
发表于 2008-6-20 13:36 | 显示全部楼层
thanks for your share.
回复

使用道具 举报

0

主题

8

帖子

28

金币

大家网幼儿园

Rank: 1

积分
8
发表于 2008-6-21 22:36 | 显示全部楼层
want to learn RegExp, thanks
回复

使用道具 举报

1

主题

27

帖子

60

金币

大家网小学一年级

Rank: 2Rank: 2

积分
37
发表于 2008-6-25 20:38 | 显示全部楼层
!!!先顶下先!!!!!!!!!
  3Q
回复

使用道具 举报

0

主题

3

帖子

23

金币

大家网幼儿园

Rank: 1

积分
3
发表于 2008-6-26 06:16 | 显示全部楼层
 谢谢 ,太好了
回复

使用道具 举报

0

主题

8

帖子

27

金币

大家网幼儿园

Rank: 1

积分
8
发表于 2008-6-26 11:18 | 显示全部楼层

回复:(leapApple)LinuxCBT RegEx Edition - RegEx正...

谢谢搂主

回复

使用道具 举报

0

主题

7

帖子

28

金币

大家网幼儿园

Rank: 1

积分
8
发表于 2008-6-26 22:49 | 显示全部楼层
好东东,谢谢!
回复

使用道具 举报

0

主题

3

帖子

23

金币

大家网幼儿园

Rank: 1

积分
3
发表于 2008-6-27 10:58 | 显示全部楼层
啊好哦哦
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则



诚聘英才|移动端|Archiver|版权声明|大家论坛 ( 京ICP备06071611号,京公网安备11010802018363号 )

GMT+8, 2018-6-19 06:35 , Processed in 0.222874 second(s), 25 queries .

Powered by Discuz!

© Comsenz Inc.

快速回复 返回顶部 返回列表