Modify ↓
Opened 13 years ago
Closed 13 years ago
#2090 closed Bug (No Bug)
[:upper:] is not working
Reported by: | Leagnus | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | 3.3.8.0 | Severity: | None |
Keywords: | regular expressions | Cc: |
Description
versions 3.3.6.1 till 3.3.8.0
not working:
#include <Array.au3> Local $a_a Local $avArray[5] = [ _ "LED", _ "IdeaPad", _ "ProBook", _ "PSII", _ "HDD"] for $i_counter = 1 to ubound($avArray)-1 $a_a = StringRegExp($avArray[$i_counter], "[:upper:]+", 1) if not @error then MsgBox(0, "", $a_a[0]) Endif next
Working:
#include <Array.au3> Local $a_a Local $avArray[5] = [ _ "LED", _ "IdeaPad", _ "ProBook", _ "PSII", _ "HDD"] for $i_counter = 1 to ubound($avArray)-1 $a_a = StringRegExp($avArray[$i_counter], "[А-ЯA-Z]+", 1) if not @error then MsgBox(0, "", $a_a[0]) Endif next
Attachments (0)
Change History (1)
comment:1 Changed 13 years ago by Jos
- Resolution set to No Bug
- Status changed from new to closed
Version 0, edited 13 years ago
by Jos
(next)
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
Note: See
TracTickets for help on using
tickets.
Your regex is wrong and should be:
Jos