Python Forum
a quick check for a pattern?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
a quick check for a pattern?
#1
a string might fit the pattern of a window geometry like "700x400" or "700x400+100+100". what is a nice quick way to test if it does and get the numbers from it? the pattern is not valid if what is between the 'x' and '+' characters is not a string representing a number.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
a quick check for a pattern? - by Skaperen - Sep-12-2019, 12:52 AM
RE: a quick check for a pattern? - by luoheng - Sep-12-2019, 02:03 AM
RE: a quick check for a pattern? - by Skaperen - Sep-12-2019, 11:43 PM
RE: a quick check for a pattern? - by Skaperen - Sep-13-2019, 05:15 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  A quick question teczone 4 3,126 Sep-06-2018, 03:44 PM
Last Post: snippsat
  Quick help! Ellisrb 2 2,796 May-02-2018, 11:21 AM
Last Post: ThiefOfTime
  quick way to convert in both 2 and 3 Skaperen 10 8,882 Nov-03-2016, 04:43 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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