大家论坛

 找回密码
 注册
查看: 8841|回复: 29

LinuxCBT RegEx Edition - RegEx正则表达式编程视频教程 [复制链接]

Rank: 25Rank: 25Rank: 25Rank: 25Rank: 25

积分
5509
帖子
1139
精华
73
经验
3593 点
威望
19 点
金币
1703

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

发表于 2008-6-19 07:51:00 |显示全部楼层

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
附件: 你需要登录才可以下载或查看附件。没有帐号?注册
K.I.S.S >> Keep It Simple, Stupid!

使用道具 举报

Rank: 1

积分
1
帖子
1
精华
0
经验
0 点
威望
0 点
金币
20
发表于 2008-6-19 09:27:00 |显示全部楼层
Thanks, I want to see.

使用道具 举报

Rank: 1

积分
7
帖子
7
精华
0
经验
0 点
威望
0 点
金币
20
发表于 2008-6-19 09:56:00 |显示全部楼层
看看&nbsp;&nbsp; 谢谢

使用道具 举报

Rank: 2Rank: 2

积分
32
帖子
24
精华
0
经验
2 点
威望
0 点
金币
22
发表于 2008-6-20 13:36:00 |显示全部楼层
thanks for your share.

使用道具 举报

Rank: 1

积分
8
帖子
8
精华
0
经验
0 点
威望
0 点
金币
20
发表于 2008-6-21 22:36:00 |显示全部楼层
want to learn RegExp, thanks

使用道具 举报

Rank: 2Rank: 2

积分
23
帖子
5
精华
0
经验
17 点
威望
13 点
金币
86
发表于 2008-6-22 23:48:00 |显示全部楼层
谢谢!!!先顶下先!!!!!!!!!

使用道具 举报

Rank: 2Rank: 2

积分
37
帖子
27
精华
0
经验
9 点
威望
0 点
金币
23
发表于 2008-6-25 20:38:00 |显示全部楼层
!!!先顶下先!!!!!!!!!
  3Q

使用道具 举报

Rank: 1

积分
3
帖子
3
精华
0
经验
0 点
威望
0 点
金币
20
发表于 2008-6-26 06:16:00 |显示全部楼层
 谢谢 ,太好了

使用道具 举报

Rank: 1

积分
8
帖子
8
精华
0
经验
0 点
威望
0 点
金币
19
发表于 2008-6-26 11:18:00 |显示全部楼层

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

谢谢搂主

使用道具 举报

Rank: 1

积分
8
帖子
7
精华
0
经验
1 点
威望
0 点
金币
20
发表于 2008-6-26 22:49:00 |显示全部楼层
好东东,谢谢!

使用道具 举报

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

手机版|Archiver|大家网 ( 京ICP备06071611号 )  

GMT+8, 2012-2-11 18:23 , Processed in 0.178654 second(s), 13 queries , Gzip On.

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

回顶部