Python Forum
Using re to find only uppercase letters
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using re to find only uppercase letters
#2
What is exact meaning of 'find a string with the letters ATGC only in uppercase'. Does it mean 'determine whether line contains word constructed only from letters ATGC in any combination'? Or same applied to the whole file? And finally - do you have to use re? Line #2 in your code reminds me one old programmering joke: regex in plural is regrets.
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Reply


Messages In This Thread
RE: Using re to find only uppercase letters - by perfringo - May-27-2021, 06:53 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Uppercase problem MarcJuegos_YT 4 2,650 Aug-21-2020, 02:16 PM
Last Post: MarcJuegos_YT
  Check if string is uppercase or lowercase and eliminate Wolfpack2605 1 4,771 Jan-01-2018, 05:03 AM
Last Post: Mekire

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020