Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

.exec() return only first result #3

@GeekEdem

Description

@GeekEdem

Hello. I have issue with returning all results to variable in JS. I build simple test, but when use

const SRL = require('srl');
const query = new SRL(query);
console.log(query.exec(query));

In console recieve:

[ 'What',
  'What',
  index: 0,
  input: 'What is Lorem Ipsum? ... ' ]

But what about all other? And why What is 2 times?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions