Modify

Opened 11 years ago

Closed 11 years ago

#2562 closed Bug (Fixed)

StringRegExp & Null character

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

Description

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)
exit

;~ >Running:(3.3.9.23):C:\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

Change History (1)

comment:1 Changed 11 years ago by Jon

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

Fixed by revision [9403] in version: 3.3.11.0

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

Author


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

 
Note: See TracTickets for help on using tickets.