<commit_before>[![Build Status](https://travis-ci.org/juamedgod/semver.svg?branch=master)](https://travis-ci.org/juamedgod/semver)
[![Go Report Card](https://goreportcard.com/badge/github.com/juamedgod/semver)](https://goreportcard.com/report/github.com/juamedgod/semver)
[![GoDoc](https://godoc.org/github.com/juamedgod/semver?status.svg)](https://godoc.org/github.com/juamedgod/semver)


Go Semantic Versioning Parser
=============================

## Basic Usage

```
package main
import github.com/juamedgod/semver

func main() {
   result, err := semver.Satisfies("1.3.4", "1.2.1 - 1.4.0")
}
```

## Versions

A `Version` object defines a [semver](http://semver.org/) version.<commit_msg>Fix snippet<commit_after>[![Build Status](https://travis-ci.org/juamedgod/semver.svg?branch=master)](https://travis-ci.org/juamedgod/semver)
[![Go Report Card](https://goreportcard.com/badge/github.com/juamedgod/semver)](https://goreportcard.com/report/github.com/juamedgod/semver)
[![GoDoc](https://godoc.org/github.com/juamedgod/semver?status.svg)](https://godoc.org/github.com/juamedgod/semver)


Go Semantic Versioning Parser
=============================

## Basic Usage

```
package main

import (
  "fmt"
  "os"

  "github.com/juamedgod/semver"
)

func main() {
  if result, err := semver.Satisfies("1.3.4", "1.2.1 - 1.4.0"); err != nil {
    fmt.Fprintf(os.Stderr, "Error evalutating semver expression: %v", err)
    os.Exit(1)
  } else {
    fmt.Println(result)
  }
}
```

## Versions

A `Version` object defines a [semver](http://semver.org/) version.
{'fraction_non_alphanumeric': 0.2245817245817246, 'fraction_numerical': 0.012226512226512226, 'mean_word_length': 4.780669144981412, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '276945', 'n_tokens_mistral': 602, 'n_tokens_neox': 582, 'n_words': 77}