pub fn find_version_pragma(contract: &str) -> Option<Match<'_>>
Expand description

Returns the solidity version pragma from the given input: pragma solidity ^0.5.2; => ^0.5.2