this work
Code: Select all
A .= info1 ";" info2 ";" Trim(Info3) "`n"
Code: Select all
A .=
( info1 ";"
info2 ";"
Trim(info3) "`n"
)
Code: Select all
A .= .
( info1 ";" .
info2 ";" .
Trim(info3) "`n"
Code: Select all
A .= info1 ";" info2 ";" Trim(Info3) "`n"
Code: Select all
A .=
( info1 ";"
info2 ";"
Trim(info3) "`n"
)
Code: Select all
A .= .
( info1 ";" .
info2 ";" .
Trim(info3) "`n"
Code: Select all
A .= info1 ";"
. info2 ";"
. Trim(info3) "`n"
Code: Select all
invRow ~= "(.*\s+((\d+.)?\d+,\d+)\s+.*\s+((\d+,\d+)\s[%])\s+((\d+.)?\d+,\d+)\s+((\d+.)?\d+,\d+))$" )
Code: Select all
invRows ~=
( LTrim Join Comments
(.*\s+ ; bla bla
((\d+.)?\d+,\d+) ; New Comments
...
etc.
)
Code: Select all
regex =
( LTrim Join Comments
(.*\s+ ; Line 1
((\d+.)? ; Line 2
\d+,\d+)) ; Line 3
)
invRows = x 3l6,0 ; Example to see whether the regex works
; Show results
info = regex %regex%`n`ninvRows %invRows%`n`n
If invRows ~= regex
MsgBox, 64, Success, %info%It worked!
Else MsgBox, 48, Failure, %info%Nope!
Code: Select all
If "5" ~=
(
\d
)
MsgBox, Success
Code: Select all
regex =
(
\d
)
If "5" ~= regex
MsgBox, Success
Code: Select all
If "5" ~=
(
5
)
MsgBox, Success
Code: Select all
If "5" ~= "
(
\d
)"
MsgBox, Success
Code: Select all
regex =
( LTrim Join Comments
(.*\s+ ; Line 1
((\d+.)? ; Line 2
\d+,\d+)) ; Line 3
)
invRows = x 3l6,0 ; Example to see whether the regex works
; Show results
info = regex %regex%`n`ninvRows %invRows%`n`n
If invRows ~= regex
MsgBox, 64, Success, %info%It worked!
Else MsgBox, 48, Failure, %info%Nope!
Code: Select all
invRows = x 3l6,0 ; Example to see whether the regex works
if invRows ~= "
( LTrim Join Comments
(.*\s+ ; Line 1
((\d+.)? ; Line 2
\d+,\d+)) ; Line 3
)"
MsgBox, 64, Success, It worked!
Else
MsgBox, 48, Failure, Nope!
Code: Select all
invRows := "x 3l6,0" ; Example to see whether the regex works
if invRows ~= "(.*\s+" ; Line 1
. "((\d+.)?" ; Line 2
. "\d+,\d+))" ; Line 3
MsgBox, 64, Success, It worked!
Else
MsgBox, 48, Failure, Nope!