Project

General

Profile

Actions

Bug #5557

closed

$*tok() + $*tokcs() identifiers return incorrect value in some cases

Added by westor (GR) over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Scripting
Target version:
Start date:
04/29/2022
Due date:
% Done:

0%

Estimated time:
Operative System:
All
Regression:
No

Description

Hello,

It seems AdiIRC returns incorrect values when using the following syntaxes.

Also if delimiter is $null all $*tok() identifiers should return $null

$addtok(one|two||three||four|,five,124) == should return one|two|three|four|five
$gettok(one|two|three|four,-0,124) == should return 4
$findtok(one|two|three|four,,0,124) == should return $null
$findtok(one|two|three|four,0,0,124) == should return $null
$instok(one|two|three|four,five,2-,124) == should return one|five|two|three|four
$matchtok(one|two|three|four,$null,0,124) == should return $null
$matchtok(one|two|three|four,e,1-,124) == should return one
$matchtok(one|two|three|four,e,-1,124) == should return $null
$matchtok(one|two|three|four,e,,124) == should return $null
$puttok(one|two|three|four,five,,124) == should return $null
$puttok(one|two|three|four,,,124) == should return $null
$remtok(one|two|three|four,,,124) == should return $null
$remtok(one|two|three|four,e,,124) == should return $null
$reptok(one|two|three|four,,,,124) == should return $null
$sorttok(one|two|three|four,,124) == should return $null
$sorttok(one|two|three|four,124,) == should return $null

- Thanks!

Actions #1

Updated by Per Amundsen over 2 years ago

  • Status changed from New to Resolved
Actions #2

Updated by Per Amundsen over 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF