Regular expressions in raku: So I have this list of 1 million
song titles that contain a bunch of letters and formats and such.
My task is to create a regular expression that I can use with a
conditional statement that skips the following:
Only if the title contains whitespace, and
only if the title contains an apostrophe ( ' ).
"next;" allows us to skip lines that we do not want to
check.
I am still working with this code:
and I have run out of ideas for what I am missing in my regular
expression to properly negate the characters stated above. I need
help finding regular expressions for both of these, please.
Regular expressions in raku: So I have this list of 1 million song titles that contain a bunch of letters and formats an
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Regular expressions in raku: So I have this list of 1 million song titles that contain a bunch of letters and formats an
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!