【24h】

Regular Expressions for Tech Writers

机译:技术作家的正则表达式

获取原文

摘要

Regular expressions (regexes) may be one of the most powerful but least utilized technologies available to authors. Most authoring tools provide a Regex option in the search dialog, but when did you use it last? A regex is a special syntax that matches on a pattern of characters. Regexes can be quite complex, but a simple regex can do amazing things. What's nice is that you can learn this language slowly on an as-needed basis, and it's [mostly] not tool-specific. This paper shows real regexes that you can use in your daily work to potentially save considerable time from tedious search and replace operations. You'll see how to use regexes in various authoring tools as well as in scripting such as JavaScript, ExtendScript, or Perl, when some really heavy lifting is required.
机译:正则表达式(regexes)可能是作者可用的最强大但使用最少的技术之一。大多数创作工具在搜索对话框中提供了Regex选项,但是您上一次使用它是什么时候?正则表达式是一种特殊的语法,可与字符模式匹配。正则表达式可能非常复杂,但是简单的正则表达式可以完成令人惊奇的事情。不错的是,您可以根据需要慢慢学习该语言,并且[主要]不是特定于工具的。本文展示了真正的正则表达式,您可以在日常工作中使用它们,从而从繁琐的搜索和替换操作中节省大量时间。当需要一些繁重的工作时,您将看到如何在各种创作工具以及脚本(例如JavaScript,ExtendScript或Perl)中使用正则表达式。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号