How to use `find` or any other command to find files on Solaris using regular expressions.  

I have managed to do it in Mac OSX and Ubuntu, but it seems that Solaris doesn't support `-regex` flag.

Example in Mac OSX:

```
find / -type f \( -perm +111 -regex ".*[0-9]$" -o -regex ".*[mh]$" \) -exec ls -lT {} \;

```

Example in Ubuntu: 

```
sudo find / -type f \( -executable -regex ".*[0-9]$" -o -regex ".*[mh]$" \) -print0 -exec ls -l --time-style=long-iso {} \;

```

I need to find all files that match one or multiple regular expressions at the same time in Solaris. 

To be more specific, there are two files that are copied to Solaris machine: 
1. script.sh
2. patterns

The script reads the patterns file line by line and create a one line find command out of all the regex patterns in the patterns file and execute is at once to list all the files that match the regex patterns.

Pattern file example:

```
\/usr[a-zA-Z0-9_.\/]+msg_\d+.txt
\/home[\S]+\.txt
.*[0-9]

```

script intended for above example:

```
find / -type f \( -perm +111 -regex "\/usr[a-zA-Z0-9_.\/]+msg_\d+.txt" -o -regex "\/home[\S]+\.txt" -o -regex ".*[0-9]" \) -exec ls -lT {} \;

```

Thanks in advance :)