Thread: Regex examples
View Single Post
Old 11-02-2025, 02:23 PM   #810
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,454
Karma: 20534347
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by ElMiko View Post
Fair enough...

But just think, if you take out the upper limit on the quantifier, you could capture Roman numeral headings all the way up to 899!

L.E. Modesitt, eat your heart out!
Not quite...399 is it, because when you get to 400 you would incorporate the "D" for 500.

388 = CCCLXXXVIII
389 = CCCLXXXIX
390 = CCCXC
399 = CCCXCIX
400 = CD

In the case of 388 you would need 11 characters.

The only books I know of with chapters that get that high are the web serials that get broken down into individual books when published to Amazon....

Last edited by Turtle91; 11-02-2025 at 02:27 PM.
Turtle91 is offline   Reply With Quote