Ruby Regexp



Download free course Ruby Regexp, pdf file on 72 pages by Sundeep Agarwal.
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.

You should have prior experience working with Ruby, should know concepts like blocks, string formats, string methods, Enumerable, etc.

Table of contents

  • Why is it needed?
  • Regexp literal and operators
  • Anchors
  • Alternation and Grouping
  • Escaping metacharacters
  • Dot metacharacter and Quantifiers
  • Working with matched portions
  • Character class
  • Groupings and backreferences
  • Lookarounds
  • Modifiers
  • String Encoding
  • Miscellaneous
  • Gotchas
Pages : 72
Size : 0.5 MB
File type : PDF
Downloads: 100
Created: 2022-02-03
License: CC BY-NC-SA
Author(s): Sundeep Agarwal
Ruby Regexp

Others ruby Tutorials

Using Blocks in Ruby

RubyFu

Getting Started with Ruby programming language

I Love Ruby

I Love Ruby

Others related eBooks about Ruby Regexp

Fortran 90 for Beginners

Download free Fortran 90 Programming language course material, tutorial training, a PDF file by Tadziu Hoffmann & Joachim Puls....

Algorithms: Fundamental Techniques

This book is about the creation and analysis of efficient algorithms. After introducing some necessary matical background this book covers:...

The Pascal Programming Language

This tutorial will give you great understanding on Pascal Programming concepts, Download free PDF training course on 13 pages by B.A.C. Schopman....

Fundamentals of Python Programming

Download free course Fundamentals of Python Programming, pdf file on 669 pages by Richard L. Halterman....

Assemblers And Loaders

Download free course Assemblers And Loaders, pdf file on 299 pages by by David Salomon....

Get Started with MicroPython on Raspberry Pi Pico

Download free course Get Started with MicroPython on Raspberry Pi Pico, pdf file on 139 pages by Gareth Halfacree, Ben Everard....

Test-Driven Development with Python

By taking you through the development of a real web application from beginning to end, this hands-on guide demonstrates the practical advantages of test-driven development (TDD) with Python. You'll learn how to write and run tests before building each part of your app, and then develop the minimum a...

Optimizing software in C++

This is an optimization manual for advanced C++ programmers. This book are not for beginne..., download free C++ tutorial in PDF (176 pages) created by Agner Fog ....

Getting started with MongoDB

MongoDB is a document-oriented NoSQL database. As we will see, the whole system revolves around this document management, including the query language, which makes it its strong point. We are going to tackle now the setting up of a Mongo server and how to integrate your data in this environment....

Programming for Computations - Python: A Gentle Introduction to Numerical Simulations with Python

This book presents computer programming as a key method for solving mathematical problems. There are two versions of the book, one for MATLAB and one for Python. The book was inspired by the Springer book TCSE 6: A Primer on Scientific Programming with Python (by Langtangen), but the style is more...