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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions