Understanding Ruby Regexp: Example based guide to mastering Ruby regular expressions


Understanding Ruby Regexp: Example based guide to mastering Ruby regular expressionsAuthor: Sundeep Agarwal
4,592
READERS

107
PAGES

60 DAYS
GUARANTEE

ENGLISH

PDF

EPUB

Book Description

Scripting and automation tasks often need to extract particular portions of text from input data or modify them from one format to another.

This book will help you learn Ruby Regular Expressions, a mini-programming language for all sorts of text processing needs.

Scripting and automation tasks often need to extract particular portions of text from input data or modify them from one format to another.

This book will help you learn Ruby Regular Expressions, a mini-programming language for all sorts of text processing needs.

The book heavily leans on examples to present features of regular expressions one by one. It is recommended that you manually type each example and experiment with them.

Exercises are included to test your understanding. Reference solutions are also provided.

Prerequisites
You should be familiar with programming basics. You should also have a working knowledge of Ruby syntax and features like string formats, string and Enumerable methods.

You are also expected to get comfortable with reading documentation, searching online, visiting external links provided for further reading, tinkering with illustrated examples, asking for help when you are stuck and so on. In other words, be proactive and curious instead of just consuming the content passively.

Table of Contents
1. Preface

2. Why is it needed?

3. Regexp introduction

4. Anchors

5. Alternation and Grouping

6. Escaping metacharacters

7. Dot metacharacter and Quantifiers

8. Interlude: Tools for debugging and visualization

9. Working with matched portions

10. Character class

11. Groupings and backreferences

12. Interlude: Common tasks

13. Lookarounds

14. Modifiers

15. Unicode

16. Further Reading

下载地址 Download解决验证以访问链接!
打赏
未经允许不得转载:finelybook » Understanding Ruby Regexp: Example based guide to mastering Ruby regular expressions

评论 抢沙发

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫