RegExp: /contenteditable(([ ]*)?\=?([ ]*)?"(.*)")?(\=([a-z0-9]*)\s)?/gi
Pattern: contenteditable(([ ]*)?\=?([ ]*)?"(.*)")?(\=([a-z0-9]*)\s)?
Create the following files inside your Laravel project.
- docker-compose.yml.example
- docker-compose.yml (a copy of .example file with the values overridden if necessary)
- docker/common.yml
Add the following to the .gitignore
file in the main project.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Checks if the given string is an address | |
* | |
* @param String $address the given HEX adress | |
* @return Boolean | |
*/ | |
function isAddress($address) { | |
if (!preg_match('/^(0x)?[0-9a-f]{40}$/i',$address)) { |