Chinaunix首页 | 论坛 | 博客
  • 博客访问: 18986650
  • 博文数量: 679
  • 博客积分: 10495
  • 博客等级: 上将
  • 技术积分: 9298
  • 用 户 组: 普通用户
  • 注册时间: 2006-07-18 10:51
文章分类

全部博文(679)

文章存档

2012年(5)

2011年(38)

2010年(86)

2009年(145)

2008年(170)

2007年(165)

2006年(89)

分类:

2010-12-15 09:57:03

待办事情:
冒烟测试 发邮件设置


12/15/2010

寻找挖耳勺 袜子、拖把 青菜
软件测试视频
中国人才热线 简历
陈能技的文章

继续:
上午继续: @beginning python from novice to professional second edition 2008 之Project 1: Instant Markup
下午 初步完成performance testing 之提取excel文件的功能

testcomplete 重温 脚本那一部分

迷你飞信,很是简洁,比较讨人喜欢


Project 1: Instant Markup
文本处理:
涉及正则表达式
html的介绍:“Getting Started with HTML” at the World Wide
Web Consortium’s site (http://www.w3.org/MarkUp/Guide).
XML的介绍:Chapter 22.

• The input shouldn’t be required to contain artificial codes or tags.
• You should be able to deal with both different blocks, such as headings, paragraphs, and
list items, and in-line text, such as emphasized text or URLs.
• Although this implementation deals with HTML, it should be easy to extend it to other
markup languages.

形成类:
• A parser: Add an object that reads the text and manages the other classes.
• Rules: You can make one rule for each type of block. The rule should be able to detect the
applicable block type and to format it appropriately.
• Filters: Use filters to wrap up some regular expressions to deal with in-line elements.
• Handlers: The parser uses handlers to generate output. Each handler can produce a
different kind of markup.
阅读(9192) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~