Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #55.0K
Ranked #4K
~379 People Reached
About Me

Windows let me down, so *only* Unix-like from now on!

Interests
Python, C++, new languages.
PC Specs
MacBook Air (13-inch, Early 2014) | i5
Favorite Forums
Favorite Tags

1 Posted Topic

Member Avatar for Niloofar24

You can also use compound regex and counters to filter the html. There is a nice feature in regex that allows you to match arbitrary strings. self.smart_pattern = re.compile(r'(((?P<size>[0-9]+)x(?P=size))/(?P<context>(actions|animations|apps)))') matches `24x24/apps`, but does *not* match `24x23/apps`, and it yields `24x24` in group 1 and `apps` in group 2. You can …

Member Avatar for iJunkie22
0
379

The End.