Search notes:

Python: re.Match

An instance of a re.Match object is returned by re.search() and re.match()
The boolean value of Match object is always True.
>>> import re
>>> m = re.search('(\d+)(?:_(\d+))(?:_(\d+))?(?:_(\d+))?(?:_(\d+))?','42_99_0')
>>> m.groups()
('42', '99', '0', None, None)
>>> m.group()
'42_99_0'
>>> m.group(1)
'42'
>>> m.group(2)
'99'
>>> m.lastindex
3

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758204576, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/Python/standard-library/re/Match/index(48): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78