DIFF.BLOG
New Following Discover Jobs
More
Top Writers Suggest a blog Upvotes plugin
Report bug Contact About Privacy
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
Privacy Policy
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

· John Cook · July 19, 2026, 7:54 p.m.
Computing Regular expressions Regular expressions text search Grep Linux commands
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
StringiFor v1.11.0 is out
Fortran Lang Discourse · Nov 1, 2026
Regular expressions Fortran
PlanetScale Released Text Search and We Have a Lot to Say (Part I)
Paradedb · Oct 1, 2026
benchmarks Postgres
GNU Coreutils 9.12 Gives Linux’s Everyday Commands Some New Tricks
Fossforce · Sep 15, 2026
developer Releases
Soft-deprecating re.match()
hugovk · Sep 10, 2026
Python Regular expressions
Soft-deprecating re.match()
simonw · Sep 11, 2026
Python Regular expressions
Usenet-Rewind
Andy Baio · Sep 9, 2026
links text search
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
By continuing, you agree to our Privacy Policy.