How to check whether a string is a concatenation of other strings with a character inserted between each string in python
<p>I'm trying to check whether a user-inputted string is contained in a list of other strings AND any permutation of those strings, separated by a "*".</p>

<p>In other words, here's the code I have so far:</p>

<pre><code>user_string=raw_input("Please supply a string")


viable_entries=['this', 'that', 'something else']

if user_string in viable_entries:
    print "here I'd move on with my script"
</code></pre>

<p>I'd also want to print "here I'd move on with my script" if user_string = "something else*this" or "this*that", etc.</p>

<p>Is there an easy, pythonic way to do this?</p>
