[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]

/q/ - Q&A Central

Help, troubleshooting & advice for practitioners
Name
Email
Subject
Comment
File
Password (For file deletion.)

File: 1780992458076.jpg (279.22 KB, 1280x1167, img_1780992448122_ndkn8kh2.jpg)ImgOps Exif Google Yandex

b84bc No.1780

can you find a way to match all digits using only three characters ? post your most efficient one-liner below ⚡

b84bc No.1781

File: 1780993056671.jpg (108.17 KB, 1880x1253, img_1780993040945_lci7c537.jpg)ImgOps Exif Google Yandex

>>1780
\d is the obvious answer, but it depends on if u count punctuation as part of a character set in certain engines. Does ur definition of "efficient" include memory usage or just character count? Using \d is much cleaner than writing 0-9 anyway



[Return] [Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ 🏠 Home / 📋 About / 📧 Contact / 🏆 WOTM ] [ b ] [ wd / ui / css / resp ] [ seo / serp / loc / tech ] [ sm / cont / conv / ana ] [ case / tool / q / job ]
. "http://www.w3.org/TR/html4/strict.dtd">