Suppose there is a file contains a lot of patterns

```
.com
.re
.net
...

```

And there is a file contains a lot of data

```
www.recent
www.remix3d.com
www.verisign.net

```

What I want the outcome is that

```
www.remix3d.com
www.verisign.net

```

I use command `grep -f pattern_file data_file`, but the outcome is like that

```
www.recent
www.remix3d.com
www.verisign.net

```

Since the `.re` match the `www'.re'cent`

How can I specific the patterns in the file can work together with general regex? Such as I grep the data 'end with' specific patterns and the patterns come from the pattern file.