teragrep / pth_03

Data Processing Language (DPL) parser
GNU Affero General Public License v3.0
0 stars 5 forks source link

substr function should not require end index parameter #19

Closed eemhu closed 8 months ago

eemhu commented 8 months ago

Describe the bug

| eval a = substr(str, start) should be valid but it is not

Expected behavior

end index parameter should be able to be omitted

How to reproduce

try using substr without end index

Screenshots

Software version

5.2.0

Desktop (please complete the following information if relevant):

Additional context

eemhu commented 8 months ago

fixed commit 306e0f3c639516630871f9d14509bb3503f9ef35