Regular expressions pattern options
In regular expressions there are some constructs that influence the way a pattern is matched:
- Non-greedy
?
- Non-capturing
(?:pattern)
- Positive lookahead
(?=pattern)
- Negative lookahead
(?!pattern)
- Positive lookbehind
(?<=pattern)
- Negative lookbehind
(?<!pattern)
- Testing regular expressions


Posted by: Z24 | Sun, Dec 23 2007 |
Category: /programming |
Permanent link |
home
Tagged as: perl, programming, regex, visual basic
Remove XP Pro or Win Server 2003 bandwidth limit
Run Group Policy (gpedit.msc) and go to Computer Configuration -> Administrative Templates -> Network -> QoS Packet Scheduler and change "Limit reservable bandwidth" to "Enabled" with a value of 0%. By default it appears disabled but read the description and you'll discovered it's enabled with a value of 20%.
Posted by: Z24 | Sun, Dec 16 2007 |
Category: /configurations/windows |
Permanent link |
home
Tagged as: configuration, windows, xp
Seeing MySQL queries, just like MS SQL Profiler
Just execute mysqld with the --log[=filename]
or -l[=filename]
command-line option.
If filename is omitted, hostname.log will be created in the mysql data directory.
Or edit my.ini
adding log=filename
line (i.e. if you use WAMP).
Then restart mysqld.
Posted by: Z24 | Sun, Dec 16 2007 |
Category: /configurations/both |
Permanent link |
home
Tagged as: configuration, mysql