livereg

package module
v0.0.0-...-ae08e8c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 29, 2021 License: MIT Imports: 4 Imported by: 0

README

livereg

PkgGoDev

Test the Regexp with live data and work with the found items (ESC key to leave the regexp input) after found the right regexp

 package main
 
 import(
    "fmt"
    "log"
    
    "github.com/CheatCoder/livereg"
 )
 
 func main(){
    text,err := livereg.NewStringReg("Write Here your Text or give it with a String Variable - foo bar foobar")
    if err != nil{
      log.Panic(err)
    }
    for _,val := range text {
      fmt.Println(string(text))
    }
 }

Documentation

Overview

Test Live regexp in golang with real data

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFileReg

func NewFileReg(file string) ([][]byte, error)

NewFileReg - Initial Live reg for files

func NewStringReg

func NewStringReg(text string) ([][]byte, error)

NewStringReg - Initial Live reg with Terminal Gui strings

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL