Skip to content

Naive Pattern Search #2330

@zafar-hussain

Description

@zafar-hussain

Detailed description

Naive Pattern Search

 Searches for the given pattern in the provided text,

 parameters :
      pat :  Pattern to search for
      txt:    Text to search in

returns 
      An integer,  position of the pattern if it exists, else a boolean false

Context

Is commented in detail and includes tests also.

Possible implementation

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions