Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: Creating an abstract

by Bod (Curate)
on Aug 09, 2021 at 21:58 UTC ( #11135750=note: print w/replies, xml ) Need Help??


in reply to Re: Creating an abstract
in thread Creating an abstract

It's certainly more succinct and it behaves slightly differently. Your version includes the tag if it is to be split whereas mine removes it - this makes no difference to my application. It's taken me a little while to work out how the regexp works and I very much doubt I could write it for myself tomorrow...so probably not easily maintainable by me.

But certainly succinct and rather impressive :)

Replies are listed 'Best First'.
Re^3: Creating an abstract
by tybalt89 (Prior) on Aug 09, 2021 at 22:28 UTC

    Nope, mine removes the last tag if it's not closed.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2022-05-24 13:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (82 votes). Check out past polls.

    Notices?