Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Sort text by Chapter names

by BillKSmith (Monsignor)
on May 24, 2018 at 13:25 UTC ( [id://1215156]=note: print w/replies, xml ) Need Help??


in reply to Sort text by Chapter names

In the real world, you must be prepared to allow chapter titles within the text.

Chapter One There were lots of monkeys here and they ate all the bananas (see 'ban +anas' in Chapter Two)... lots more text up to hundreds of words.

Probably the best you can do is to ignore titles that do not start at the beginning of a line.

Bill

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1215156]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-25 12:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found