DIFF.BLOG
New Following Discover Jobs
More
Top Writers Suggest a blog Upvotes plugin
Report bug Contact About
Sign up
Topics
Follow your own topics →
Menu
New Following Discover Jobs Top Writers
More
Suggest a blog Upvotes plugin Report bug Contact About
Sign up
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS

Fitting a regular expression to a list of words

31 · John Cook · July 19, 2026, 7:54 p.m.
Computing Regular expressions Grep Regular expressions Linux commands text search
Summary
This post discusses how to use grep to search for a list of words by utilizing the -f flag for regular expressions, with an emphasis on treating the input as simple words using the -F option.
Read full post on www.johndcook.com →
MORE POSTS LIKE THIS
Regular expression speed and error rates
John Cook · Jul 17, 2026
Computing Medical codes
I don’t want to repeat repeat myself
Alex Chan · Jul 3, 2026
Regular expressions Regular expressions
regex unicode character classes
Emad Elsaid · Aug 30, 2025
Regular expressions Unicode
orangepi cm4 / uart7 / uart9 / test
Evgeny Yakovlev · Aug 1, 2025
Device orange pi
Tips for making regular expressions easier to use in JavaScript
Axel Rauschmayer · Jun 24, 2025
Javascript Regular expressions
ack with context
Thiago Perrotta · May 19, 2025
ack command Git
Discover more posts →
AUTHOR
BLOG POST FEATURED ON

Placeholder image
Hacker News

3 points

Add this plugin to your blog
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub Continue with Google