BIBLIO is the largest independent book marketplace in the world, with over 100 million books.

Skip to content

Regular Expression Puzzles and AI Coding Assistants: 24 Puzzles Solved by the
Stock photo: cover may vary

Regular Expression Puzzles and AI Coding Assistants: 24 Puzzles Solved by the Author, with and Without Assistance from Copilot, ChatGPT and More Paperback - 2023

by David Mertz

Add to wish list

Reader reviews for Regular Expression Puzzles and AI Coding Assistants: 24 Puzzles Solved by the Author, with and Without Assistance from Copilot, ChatGPT and More

From the publisher

Learn how AI-assisted coding using ChatGPT and GitHub Copilot can dramatically increase your productivity (and fun) writing regular expressions and other programs.

Regular Expression Puzzles and AI Coding Assistants is the story of two competitors. On one side is David Mertz, an expert programmer and the author of the Web's most popular Regex tutorial. On the other are the AI powerhouse coding assistants, GitHub Copilot and OpenAI ChatGPT.

Here's how the contest works: David invents 24 Regex problems he calls puzzles and shows you how to tackle each one. When he's done, he has Copilot and ChatGPT work the same puzzles. What they produce intrigues him. Which side is likelier to get it right? Which will write simple and elegant code? Which makes smarter use of lesser known Regex library features? Read the book to find out.

David also offers AI best practices, showing how smart prompts return better results. By the end, you'll be a master at solving your own Regex puzzles, whether you use AI or not.

Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.

About the technology
Groundbreaking large language model research from OpenAI, Google, Amazon, and others have transformed expectations of machine-generated software. But how do these AI assistants, like ChatGPT and GitHub Copilot, measure up against regular expressions--a workhorse technology for developers used to describe, find, and manipulate patterns in text. Regular expressions are compact, complex, and subtle. Will AI assistants handle the challenge?

About the book
Regular Expression Puzzles and AI Coding Assistants is the perfect starting point for programmers of any experience level who want to understand the capabilities--and the limitations--of these exciting new tools. Author David Mertz presents 24 challenging regex puzzles, their traditional human-made solutions, and the fascinating answers given by popular AI assistants. Alongside these eye-opening puzzles you'll learn how to write prompts, integrate AI-generated coding suggestions, and interact with the assistant to get the results you want. By the end of the book, you'll have a clear understanding of where AI assistants can reliably write code for you and where you'll still need a human touch. Plus, you'll learn a lot about regular expressions!

About the reader
Code examples use simple Python and Regular Expressions. No experience with AI coding tools required.

About the author
David Mertz is the founder of KDM Training and an acclaimed contributor to the Python community. He is also the author of The Puzzling Quirks of Regular Expressions, Cleaning Data for Effective Data Science: Doing the Other 80% of the Work, and other books.

Table of Contents
1 The map and the territory
2 Quantifiers and special sub-patterns
3 Pitfalls and sand in the gears
4 Creating functions using regex
5 Easy, difficult, and impossible tasks
6 Conclusions
Appendix A: Learning to use regular expressions

From the rear cover

Regular Expression Puzzles and AI Coding Assistants is the perfect starting point for programmers of any experience level who want to understand the capabilities -- and the limitations -- of these exciting new tools. Author David Mertz presents 24 challenging regex puzzles, their traditional human-made solutions, and the fascinating answers given by popular AI assistants. Alongside these eye-opening puzzles, you will learn how to write prompts, integrate AI-generated coding suggestions, and interact with the assistant to get the results you want. By the end of the book, you will have a clear understanding of where AI assistants can reliably write code for you and where you will still need a human touch. Plus, you will learn a lot about regular expressions!

About the reader

Code examples use simple Python and Regular Expressions. No experience with AI coding tools is required.

Details

  • Title Regular Expression Puzzles and AI Coding Assistants: 24 Puzzles Solved by the Author, with and Without Assistance from Copilot, ChatGPT and More
  • Author David Mertz
  • Binding Paperback
  • Pages 152
  • Volumes 1
  • Language ENG
  • Publisher Manning Publications
  • Publication date 2023-04-04
  • Features Index
  • ISBN 9781633437814 / 1633437817
  • Weight 0.44 lbs (0.20 kg)
  • Dimensions 9.1 x 7.2 x 0.4 in (23.11 x 18.29 x 1.02 cm)
  • Category Computers - General Information
  • Library of Congress subjects Artificial intelligence - Computer programs, Regular expressions (Computer science)
  • Library of Congress Catalogue Number 2025388188
  • Dewey Decimal Code 006.3

About the author

David Mertz is the founder of KDM Training and an acclaimed contributor to the Python community. He is also the author of The Puzzling Quirks of Regular Expressions, Cleaning Data for Effective Data Science: Doing the Other 80% of the Work, and other books.

More Copies for Sale

Regular Expression Puzzles and AI Coding Assistants: 24 puzzles solved by the author, with and...
Stock photo: cover may vary

Regular Expression Puzzles and AI Coding Assistants: 24 puzzles solved by the author, with and without assistance from Copilot, ChatGPT and more

by David Mertz

  • Used
  • Paperback
Condition
New
Binding
Paperback
ISBN 10 / ISBN 13
9781633437814 / 1633437817
Quantity available
1
Seller
Item price
A$33.11
A$143.95 Delivery to USA

Show details

Description:
Paperback. Like New/Like New.
Add to wish list
Item price
A$33.11
A$143.95 Delivery to USA
Regular Expression Puzzles and Ai Coding Assistants: 24 Puzzles Solved by the Author, With and...
Stock photo: cover may vary

Regular Expression Puzzles and Ai Coding Assistants: 24 Puzzles Solved by the Author, With and Without Assistance from Copilot, Chatgpt and More

by David, Mertz

  • New
  • Paperback
Condition
New
Binding
Paperback
ISBN 10 / ISBN 13
9781633437814 / 1633437817
Quantity available
1
Seller
Item price
A$96.15
A$48.23 Delivery to USA

Show details

Description:
Manning Pubns Co, 2023. Paperback. New. 160 pages. 9.25x7.37x0.38 inches.
Add to wish list
Item price
A$96.15
A$48.23 Delivery to USA
Regular Expression Puzzles and AI Coding Assistants: 24 puzzles solved by the author, with and...
Stock photo: cover may vary

Regular Expression Puzzles and AI Coding Assistants: 24 puzzles solved by the author, with and without assistance from Copilot, ChatGPT and more

by Mertz, David

  • Used
  • Good
  • Paperback
Condition
Good
Binding
Paperback
ISBN 10 / ISBN 13
9781633437814 / 1633437817
Quantity available
1
Seller
Item price
A$73.44
Free Delivery to USA

Show details

Description:
paperback. Good. Access codes and supplements are not guaranteed with used items. May be an ex-library book.
Add to wish list
Item price
A$73.44
Free Delivery to USA
Regular Expression Puzzles and AI Coding Assistants: 24 puzzles solved by the author
Stock photo: cover may vary

Regular Expression Puzzles and AI Coding Assistants: 24 puzzles solved by the author

  • New
Condition
New
ISBN 10 / ISBN 13
9781633437814 / 1633437817
Quantity available
4
Seller
Item price
A$73.86
A$5.74 Delivery to USA

Show details

Description:
. Other. New.
Add to wish list
Item price
A$73.86
A$5.74 Delivery to USA
Regular Expression Puzzles and AI Coding Assistants
Stock photo: cover may vary

Regular Expression Puzzles and AI Coding Assistants

  • New
Condition
New
ISBN 10 / ISBN 13
9781633437814 / 1633437817
Quantity available
5
Seller
Item price
A$82.93
A$21.59 Delivery to USA

Show details

Description:
New/New. Brand New Original US Edition, Perfect Condition. Printed in English. Excellent Quality, Service and customer satisfaction guaranteed!
Add to wish list
Item price
A$82.93
A$21.59 Delivery to USA
Regular Expression Puzzles and AI Coding Assistants
Stock photo: cover may vary

Regular Expression Puzzles and AI Coding Assistants

  • New
Condition
New
ISBN 10 / ISBN 13
9781633437814 / 1633437817
Quantity available
5
Seller
Item price
A$84.04
A$21.59 Delivery to USA

Show details

Description:
New/New. Brand New Original US Edition, Perfect Condition. Printed in English. Excellent Quality, Service and customer satisfaction guaranteed!
Add to wish list
Item price
A$84.04
A$21.59 Delivery to USA