Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (7 - 9 of 3866)

1 2 3 4 5 6 7 8 9 10 11 12 13
Ticket Resolution Summary Owner Reporter
#2663 Completed StringRegExpReplace backreference not working BrewManNH BrewManNH
Description

The only backreferences working in RegExp functions are \1\2\3... and $1$2$3..., the \g and \k backreferences mentioned in the help file don't work. If you use \g1 for example you'll get "g1" in the string instead of the backreferenced match.

This works:

Local $sOutput = StringRegExpReplace("Slide1.jpg", "([a-zA-Z]+)(\d{1})(\..+)", "${1}0$2$3") ;-- add a 0 before single digit
MsgBox(4096, "Test", $sOutput)

This does not:

Local $sOutput = StringRegExpReplace("Slide1.jpg", "([a-zA-Z]+)(\d{1})(\..+)", "\g{1}0\g2\g3") ;-- add a 0 before single digit
MsgBox(4096, "Test", $sOutput)

The first MsgBox gives you the output of "Slide01.jpg", the second message box gives you "g{1}0g2g3".

If you tried using a named group using (?<one>) and back referenced it using \k<one> you'll get "k<one>01.jpg"

Local $sOutput = StringRegExpReplace("Slide1.jpg", "([a-zA-Z]+)(?<one>\d{1})(\..+)", "\k<one>0\2\3") ;-- add a 0 before single digit
MsgBox(4096, "Test", $sOutput)

I tested this in 3.3.11.3, 3.3.10.2 and 3.3.8.1, doesn't work in any of them.

#2921 Fixed _ArrayFindAll compares using a regular expression BrewManNH anonymous
Description

It seems missed in docs - _ArrayFindAll uses ArraySearch, so it can compare using a regular expression:

3 compares using a regular expression pattern provided as $vValue

#2944 Fixed MsgBox timeout not working BrewManNH richard.hopton@…
Description

Hi

When I use either $MB_SERVICE_NOTIFICATION or $MB_DEFAULT_DESKTOP_ONLY flags (or the decimal/hex equivalents) for a msgbox, the timeout doesn't work. eg

#include <MsgBoxConstants.au3>
MsgBox($MB_SERVICE_NOTIFICATION, "Title", "Text",10)

Does not timeout. I am running Win7 32bit with the latest public release (3.3.12.0) and have tried the most recent Beta (3.3.13.19) but no joy.

1 2 3 4 5 6 7 8 9 10 11 12 13
Note: See TracQuery for help on using queries.