Opened 10 years ago

Closed 10 years ago

#2562 closed Bug (Fixed)

StringRegExp & Null character

Reported by: DXRW4E Owned by: Jon
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:


I've noticed that even the StringRegExp (StringRegExpReplace is Ok, even StringSplit is Ok that return array) that does not seem OK

local $b, $a = StringRegExp("aaa" & chr(0) & "bbbccc", 'aaa\x00bbb', 1)
$b = @extended
ConsoleWrite("@extended - " & $b & @LF)
ConsoleWrite("StringLen - " & StringLen($a[0]) & @LF)

;~ >Running:(\Program Files (x86)\AutoIt3\Beta\autoit3.exe "C:\Users\DXRW4E\Desktop\New AutoIt v3 Script.au3"
;~ --> Press Ctrl+Alt+F5 to Restart or Ctrl+Break to Stop
;~ @extended - 8
;~ StringLen - 3
;~ +>08:31:35 AutoIt3.exe ended.rc:0
;~ >Exit code: 0 Time: 0.423

Attachments (0)

Change History (1)

comment:1 Changed 10 years ago by Jon

  • Milestone set to
  • Owner set to Jon
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [9403] in version:

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.

Add Comment

Modify Ticket

as closed The owner will remain Jon.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.