Static ethers_solc::utils::RE_SOL_PRAGMA_VERSION [−][src]
pub static RE_SOL_PRAGMA_VERSION: Lazy<Regex>
Expand description
A regex that matches the version part of a solidity pragma
as follows: pragma solidity ^0.5.2;
=> ^0.5.2
statement with the named groups “path”, “id”.