title: using sed find a word and append a suffix at the end of the matched word
body: <p>I have some texts in the file looking like:</p>
  <pre><code>'PALAL_3002_NEP_POLICIES':
   Name: SomeRandomName:Here
   Desc: &quot;Random description here&quot;
   Chart Name: palal
   Labels:
   - Label1: '#AL_RAND_DUMMY_PAL_PSA_NEP_POLICY'
   - Label2: '#AL_RAND_DUMMY_SER_PSA_NEP_POLICY-DUMMY_SER_PAL_NEP'
   - Label3: '#AL_RAND_DUMMY_PAL_PSA_NEP_POLICY-DUMMY_SER_NEG_NEP'
   - Label4: '#AL_RAND_DUMMY_PAL_PSA_NEP_POLICY-#AL_RAND_DUMMY_PAL_PSA_NEP_POLICY'
  </code></pre>
  <p>I want to find a word containing a string <code>PAL</code> in capital letters and suffix the matched word with <code>_MATCH</code>. The string <code>PAL</code> can exist in a word without hyphen , or with hyphen separated.</p>
  <p>Expected output:</p>
  <pre><code>'PALAL_3002_NEP_POLICIES_MATCH': 
   Name: SomeRandomName:Here
   Desc: &quot;Random description here&quot;
   Chart Name: palal
   Labels:
   - Label1: '#AL_RAND_DUMMY_PAL_PSA_NEP_POLICY_MATCH'
   - Label2: '#AL_RAND_DUMMY_SER_PSA_NEP_POLICY-DUMMY_SER_PAL_NEP_MATCH'
   - Label3: '#AL_RAND_DUMMY_PAL_PSA_NEP_POLICY_MATCH-DUMMY_SER_NEG_NEP'
   - Label4: '#AL_RAND_DUMMY_PAL_PSA_NEP_POLICY_MATCH-#AL_RAND_DUMMY_PAL_PSA_NEP_POLICY_MATCH'
  </code></pre>
  <p>This is what I did but it suffixed every words with <code>_MATCH</code>:</p>
  <p><code>sed '/PAL/s/\&gt;/_MATCH/g' practice.txt</code></p>
  <p>Any help would be appreciated.</p>